diff --git a/other/dbconfig.php b/configs/dbconfig.php
similarity index 100%
rename from other/dbconfig.php
rename to configs/dbconfig.php
diff --git a/other/phpcommand.php b/configs/phpcommand.php
similarity index 100%
rename from other/phpcommand.php
rename to configs/phpcommand.php
diff --git a/install.php b/install.php
index c244bd3..5af4b55 100644
--- a/install.php
+++ b/install.php
@@ -74,7 +74,7 @@ function install($type, $host, $user, $pass, $dbname, $lang, $mysqlcon, &$err_ms
$db[\'dbname\']=\''.$dbname.'\';
?>';
- if(!is_writable('./other/dbconfig.php')) {
+ if(!is_writable('./configs/dbconfig.php')) {
$err_msg = $lang['isntwicfg'];
$err_lvl = 2;
} else {
@@ -483,7 +483,7 @@ function install($type, $host, $user, $pass, $dbname, $lang, $mysqlcon, &$err_ms
$err_msg = sprintf($lang['instdbsuc'], $dbname); $err_lvl = NULL;
$install_webuser = 1;
- $dbconfig = fopen('./other/dbconfig.php','w');
+ $dbconfig = fopen('./configs/dbconfig.php','w');
if(!fwrite($dbconfig, $newconfig)) {
$err_msg = $lang['isntwicfg'];
$err_lvl = 2;
@@ -520,7 +520,7 @@ function install($type, $host, $user, $pass, $dbname, $lang, $mysqlcon, &$err_ms
}
}
- if(!is_writable('./other/dbconfig.php')) {
+ if(!is_writable('./configs/dbconfig.php')) {
$err_msg = $lang['isntwicfg'];
$err_lvl = 2;
}
@@ -540,7 +540,7 @@ function install($type, $host, $user, $pass, $dbname, $lang, $mysqlcon, &$err_ms
}
if(isset($_POST['confweb'])) {
- require_once('other/dbconfig.php');
+ require_once('configs/dbconfig.php');
$user=$_POST['user'];
$pass=password_hash($_POST['pass'], PASSWORD_DEFAULT);
$logpath = addslashes(__DIR__.DIRECTORY_SEPARATOR."logs".DIRECTORY_SEPARATOR);
@@ -688,7 +688,7 @@ function install($type, $host, $user, $pass, $dbname, $lang, $mysqlcon, &$err_ms
unset($err_msg);
unset($err_lvl);
$err_msg = '';
- if(!is_writable('./other/dbconfig.php')) {
+ if(!is_writable('./configs/dbconfig.php')) {
$err_msg = $lang['isntwicfg']; $err_lvl = 3;
}
@@ -753,16 +753,16 @@ function install($type, $host, $user, $pass, $dbname, $lang, $mysqlcon, &$err_ms
unset($err_msg); $err_msg = sprintf($lang['insterr3'],'exec','//php.net/manual/en/book.exec.php',get_cfg_var('cfg_file_path')); $err_lvl = 3;
} else {
if ($err_msg == NULL) {
- require_once('other/phpcommand.php');
+ require_once('configs/phpcommand.php');
exec("$phpcommand -v", $phpversioncheck);
$output = '';
foreach($phpversioncheck as $line) $output .= print_r($line, true).'
';
if(empty($phpversioncheck) || strtoupper(substr($phpversioncheck[0], 0, 3)) != "PHP") {
- $err_msg .= sprintf($lang['chkphpcmd'], "\"other/phpcommand.php\"", "\"other/phpcommand.php\"", '
'.$phpcommand.'', '
'.$output.'
php -v'); $err_lvl = 3; + $err_msg .= sprintf($lang['chkphpcmd'], "\"configs/phpcommand.php\"", "\"configs/phpcommand.php\"", '
'.$phpcommand.'', '
'.$output.'
php -v'); $err_lvl = 3; } else { $exploded = explode(' ',$phpversioncheck[0]); if($exploded[1] != phpversion()) { - $err_msg .= sprintf($lang['chkphpmulti'], phpversion(), "\"other/phpcommand.php\"", $exploded[1], "\"other/phpcommand.php\"", "\"other/phpcommand.php\"", '
'.$phpcommand.''); + $err_msg .= sprintf($lang['chkphpmulti'], phpversion(), "\"configs/phpcommand.php\"", $exploded[1], "\"configs/phpcommand.php\"", "\"configs/phpcommand.php\"", '
'.$phpcommand.''); if(getenv('PATH')!='') { $err_msg .= "