X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Freset%2Freset_daily.php;h=250730be760b6b571b5ab45adb40cc0bc42c40f9;hp=d18d2fbd629c3dbef228117e36d472918b147b23;hb=963e55ca1ea79e255f235e359cde9f7862191dc5;hpb=c45b1827a16928c65ecc1aea6a9d7a504c4874d4 diff --git a/inc/reset/reset_daily.php b/inc/reset/reset_daily.php index d18d2fbd62..250730be76 100644 --- a/inc/reset/reset_daily.php +++ b/inc/reset/reset_daily.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); }