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