X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fpatch-system.php;h=c0daae62382570b7ea3c173c066018559883ab39;hb=769d7314f3dd962b40373d0e5fa67f0815d698c9;hp=9eb7c43df2bb4850671e0d28d84ce5d30bd56bb2;hpb=0369c36aaab5af6ed44da1e13a53baef285f79b4;p=mailer.git diff --git a/inc/patch-system.php b/inc/patch-system.php index 9eb7c43df2..c0daae6238 100644 --- a/inc/patch-system.php +++ b/inc/patch-system.php @@ -32,8 +32,7 @@ ************************************************************************/ // Some security stuff... -if (ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) -{ +if (!defined('__SECURITY')) { $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php"; require($INC); }