X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fautopurge%2Fpurge-unconfirmed.php;h=65219b2d7357a487c9cd533380187fa5fabc4266;hb=8cde3ae4a70b7a998e02cef8d491aa719a2e9a39;hp=dd6c7fedeee0b5e9cde1b8c60c21fd1c971c5231;hpb=00c41ee95139ba90f2ed355da6503f03fb9096a3;p=mailer.git diff --git a/inc/autopurge/purge-unconfirmed.php b/inc/autopurge/purge-unconfirmed.php index dd6c7fedee..65219b2d73 100644 --- a/inc/autopurge/purge-unconfirmed.php +++ b/inc/autopurge/purge-unconfirmed.php @@ -32,7 +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); } // END - if