X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-cache_stats.php;h=13e22537de0e39cdab958c38ca6e5ad669d1de43;hb=2142149f3f72f1a2476f95a87937c044d63bbaf2;hp=ee2f431796d17bb0712488357a9339f915b6e650;hpb=4a01830be56f5b7ce18667d5adf5b899bc94355f;p=mailer.git diff --git a/inc/modules/admin/what-cache_stats.php b/inc/modules/admin/what-cache_stats.php index ee2f431796..13e22537de 100644 --- a/inc/modules/admin/what-cache_stats.php +++ b/inc/modules/admin/what-cache_stats.php @@ -32,13 +32,13 @@ ************************************************************************/ // Some security stuff... -if ((!defined('__SECURITY')) || (!is_admin())) { +if ((!defined('__SECURITY')) || (!IS_ADMIN())) { $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php"; require($INC); } // Add description as navigation point -ADD_DESCR("admin", basename(__FILE__)); +ADD_DESCR("admin", __FILE__); // Calculate total hits $totalHits = ($_CONFIG['db_hits'] + $_CONFIG['cache_hits']);