X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fautopurge%2Fpurge-tsks.php;h=a2a9038b12fb63a5e33e46077ae09cedffa7389e;hb=9709e0653e1a90fd65e6308b97a6fabb586a32a1;hp=e862111a45e7e26cb45a27e8fd02ec9626a09f28;hpb=3e64a94e122e30dd66db07fd8c8cfae05871c460;p=mailer.git diff --git a/inc/autopurge/purge-tsks.php b/inc/autopurge/purge-tsks.php index e862111a45..a2a9038b12 100644 --- a/inc/autopurge/purge-tsks.php +++ b/inc/autopurge/purge-tsks.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