X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-overview.php;h=44f34e52ad6f0f680fb48d19c7eedc712f0126cd;hb=2142149f3f72f1a2476f95a87937c044d63bbaf2;hp=93a1b4b18f8df626f02d986f907ef06dd649d84d;hpb=0c030e7ade850b0e42a434f4b02ca69fbffd504f;p=mailer.git diff --git a/inc/modules/admin/what-overview.php b/inc/modules/admin/what-overview.php index 93a1b4b18f..44f34e52ad 100644 --- a/inc/modules/admin/what-overview.php +++ b/inc/modules/admin/what-overview.php @@ -32,13 +32,13 @@ ************************************************************************/ // Some security stuff... -if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!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__); // Otherwise load include file 'overview-inc' (old standard overview page) require_once(PATH."inc/modules/admin/overview-inc.php");