X7ROOT File Manager
Current Path:
/var/softaculous/ospos
var
/
softaculous
/
ospos
/
ðŸ“
..
📄
.env
(2.99 KB)
📄
.htaccess
(1.15 KB)
📄
_clone.php
(2.34 KB)
📄
changelog.txt
(803 B)
📄
edit.php
(4.7 KB)
📄
edit.xml
(433 B)
📄
extend.php
(9.27 KB)
📄
fileindex.php
(279 B)
ðŸ“
images
📄
import.php
(4.27 KB)
📄
info.xml
(3.57 KB)
📄
install.js
(921 B)
📄
install.php
(4.52 KB)
📄
install.xml
(792 B)
📄
md5
(2.14 KB)
📄
notes.txt
(655 B)
📄
ospos.sql
(45.83 KB)
📄
ospos.zip
(31.08 MB)
ðŸ“
php53
ðŸ“
php56
ðŸ“
php71
ðŸ“
php81
ðŸ“
php82
📄
update_pass.php
(541 B)
📄
upgrade.php
(5.76 KB)
📄
upgrade.xml
(248 B)
Editing: _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; } ?>
Upload File
Create Folder