diff --git a/.phan/config.php b/.phan/config.php index 9770b8ef..f0f86bf8 100644 --- a/.phan/config.php +++ b/.phan/config.php @@ -56,6 +56,7 @@ return [ "./www/configs/config.db.php", "./www/configs/config.host.php", "./www/configs/config.path.php", + "./www/configs/config.other.php", "./www/configs/config.master.php", "./www/includes/admin_header.php", ], diff --git a/www/admin/smarty_test.php b/www/admin/smarty_test.php index 3bc3fedb..dbf9a4c1 100755 --- a/www/admin/smarty_test.php +++ b/www/admin/smarty_test.php @@ -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(); diff --git a/www/lib/CoreLibs/Basic.php b/www/lib/CoreLibs/Basic.php index a6fab41e..8be2aa36 100644 --- a/www/lib/CoreLibs/Basic.php +++ b/www/lib/CoreLibs/Basic.php @@ -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));