$39 GRAYBYTE WORDPRESS FILE MANAGER $55

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/var/softaculous/ospos/

HOME
Current File : /var/softaculous/ospos//_clone.php
<?php

//////////////////////////////////////////////////////////////
//===========================================================
// clone.php
//===========================================================
// SOFTACULOUS 
// Version : 4.2.8
// Inspired by the DESIRE to be the BEST OF ALL
// ----------------------------------------------------------
// Started by: Alons
// Date:       10th Jan 2009
// Time:       21:00 hrs
// Site:       http://www.softaculous.com/ (SOFTACULOUS)
// ----------------------------------------------------------
// Please Read the Terms of use at http://www.softaculous.com
// ----------------------------------------------------------
//===========================================================
// (c)Softaculous Inc.
//===========================================================
//////////////////////////////////////////////////////////////

if(!defined('SOFTACULOUS')){

	die('Hacking Attempt');

}

//The Install process
function __clone(){

global $__settings, $error, $software, $globals, $replace_data, $data;
	
	//Do we meet the Minimum software requirements
	__requirements();
	
	if(!empty($error)){
		return false;
	}

	sclone_replace($replace_data, $__settings['softpath'].'/application/config/database.php', true);
	
	$file = sfile($__settings['softpath'].'/application/config/config.php');
	
	if(empty($file)){
		$error[] = 'Could not read the config file.';
		return false;
	}
	
	soft_preg_replace('/\$config\[("|\')encryption_key("|\')\](\s*?)=(\s*?)("|\')(.*?)("|\');/is', $file, $encryption_key, 6);
	$__settings['encryption_key'] = srandstr(10);
	$replace_data[$encryption_key] = $__settings['encryption_key'];
	
	sclone_replace($replace_data, $__settings['softpath'].'/application/config/config.php', true);
	
	if(sfile_exists($__settings['softpath'].'/.htaccess')){
	
		// If the installation is on root domain we need to change the below relative URL
		if(is_dom_root($data['softpath'])){
			$replace_data['RewriteBase /'] = 'RewriteBase '.$__settings['relativeurl'].'/';
		}elseif(is_dom_root($__settings['softpath'])){
			$replace_data['RewriteBase '.$data['relativeurl'].'/'] = 'RewriteBase /';
		}
		
		sclone_replace($replace_data, $__settings['softpath'].'/.htaccess', true);		
	}
}

//Check whether the Minimum Software configuration matches
function __requirements(){

global $__settings, $error, $software;
	
	return true;

}

?>


Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
5 Apr 2026 1.55 AM
root / root
0755
images
--
10 Jun 2025 1.55 AM
root / root
0755
php53
--
10 Jun 2025 1.55 AM
root / root
0755
php56
--
10 Jun 2025 1.55 AM
root / root
0755
php71
--
10 Jun 2025 1.55 AM
root / root
0755
php81
--
10 Jun 2025 1.55 AM
root / root
0755
php82
--
10 Jun 2025 1.55 AM
root / root
0755
.env
2.987 KB
9 Jun 2025 8.45 AM
root / root
0644
.htaccess
1.149 KB
9 Jun 2025 8.45 AM
root / root
0644
_clone.php
2.34 KB
9 Jun 2025 8.45 AM
root / root
0644
changelog.txt
0.784 KB
9 Jun 2025 8.45 AM
root / root
0644
edit.php
4.704 KB
9 Jun 2025 11.06 AM
root / root
0644
edit.xml
0.423 KB
23 Dec 2021 11.54 AM
root / root
0644
extend.php
9.268 KB
9 Jun 2025 11.06 AM
root / root
0644
fileindex.php
0.272 KB
9 Jun 2025 8.45 AM
root / root
0644
import.php
4.273 KB
9 Jun 2025 11.06 AM
root / root
0644
info.xml
3.568 KB
9 Jun 2025 8.45 AM
root / root
0644
install.js
0.899 KB
23 Dec 2021 11.54 AM
root / root
0644
install.php
4.522 KB
9 Jun 2025 11.06 AM
root / root
0644
install.xml
0.773 KB
23 Dec 2021 11.54 AM
root / root
0644
md5
2.138 KB
9 Jun 2025 11.06 AM
root / root
0644
notes.txt
0.64 KB
9 Jun 2025 8.45 AM
root / root
0644
ospos.sql
45.83 KB
9 Jun 2025 8.45 AM
root / root
0644
ospos.zip
31.08 MB
9 Jun 2025 8.45 AM
root / root
0644
update_pass.php
0.528 KB
23 Dec 2021 11.54 AM
root / root
0644
upgrade.php
5.757 KB
9 Jun 2025 11.06 AM
root / root
0644
upgrade.xml
0.242 KB
23 Dec 2021 11.54 AM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF