X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fmodules%2Fadmin%2Fwhat-config_proxy.php;h=756b42d7517f025e7358a339e46f724469fb2b8a;hb=e521a48cf5d2a3090bd8d7a9cb21dfbc2dfda257;hp=75cd3f38e8bb8bebe9f54a21166cbc425193a2aa;hpb=3299d3eba008bfd2450d0f19d072126f98c78e1e;p=mailer.git diff --git a/inc/modules/admin/what-config_proxy.php b/inc/modules/admin/what-config_proxy.php index 75cd3f38e8..756b42d751 100644 --- a/inc/modules/admin/what-config_proxy.php +++ b/inc/modules/admin/what-config_proxy.php @@ -32,7 +32,7 @@ ************************************************************************/ // 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); }