Minor fixes in corelibs
This commit is contained in:
@@ -56,6 +56,7 @@ return [
|
|||||||
"./www/configs/config.db.php",
|
"./www/configs/config.db.php",
|
||||||
"./www/configs/config.host.php",
|
"./www/configs/config.host.php",
|
||||||
"./www/configs/config.path.php",
|
"./www/configs/config.path.php",
|
||||||
|
"./www/configs/config.other.php",
|
||||||
"./www/configs/config.master.php",
|
"./www/configs/config.master.php",
|
||||||
"./www/includes/admin_header.php",
|
"./www/includes/admin_header.php",
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ if ($smarty->USE_PROTOTYPE) {
|
|||||||
$smarty->ADMIN_JAVASCRIPT = 'edit.jq.js';
|
$smarty->ADMIN_JAVASCRIPT = 'edit.jq.js';
|
||||||
$smarty->JS_SPECIAL_TEMPLATE_NAME = 'jquery.test.js';
|
$smarty->JS_SPECIAL_TEMPLATE_NAME = 'jquery.test.js';
|
||||||
}
|
}
|
||||||
$smarty->PAGE_WIDTH = "100%";
|
$smarty->PAGE_WIDTH = '100%';
|
||||||
// require BASE.INCLUDES.'admin_set_paths.php';
|
// require BASE.INCLUDES.'admin_set_paths.php';
|
||||||
$smarty->setSmartyPaths();
|
$smarty->setSmartyPaths();
|
||||||
|
|
||||||
|
|||||||
@@ -2725,7 +2725,7 @@ class Basic
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
$hash = 'sha256';
|
$hash = 'sha256';
|
||||||
if (is_defined(DEFAULT_HASH)) {
|
if (defined(DEFAULT_HASH)) {
|
||||||
$hash = DEFAULT_HASH;
|
$hash = DEFAULT_HASH;
|
||||||
}
|
}
|
||||||
$uniq_id = hash($hash, uniqid((string)rand(), true));
|
$uniq_id = hash($hash, uniqid((string)rand(), true));
|
||||||
|
|||||||
Reference in New Issue
Block a user