X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-email_stats.php;h=3a3a1eaee6e24941d438ad0deec9a9603cf87f67;hb=2142149f3f72f1a2476f95a87937c044d63bbaf2;hp=316322b1a160a8396b00e9c889d7eeadf63e7e02;hpb=6ccd99da05d2a9ea302b4c904bbdb2320724d42d;p=mailer.git diff --git a/inc/modules/admin/what-email_stats.php b/inc/modules/admin/what-email_stats.php index 316322b1a1..3a3a1eaee6 100644 --- a/inc/modules/admin/what-email_stats.php +++ b/inc/modules/admin/what-email_stats.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__); // ?>