X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=0.2.1%2Finc%2Fautopurge.php;h=b9d7e68adb0cdbbc3b31539047bd9d8d49c81949;hp=9f4a0522d8be230cce3fba875ec730b27e42281f;hb=985d79f06163e5957c3f40b5a71ce85be9048f8e;hpb=4d62ab22b0616cabb713929f8b661b5470b6018c diff --git a/0.2.1/inc/autopurge.php b/0.2.1/inc/autopurge.php index 9f4a0522d8..b9d7e68adb 100644 --- a/0.2.1/inc/autopurge.php +++ b/0.2.1/inc/autopurge.php @@ -34,11 +34,11 @@ // Some security stuff... if (ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) { - $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php"; + $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php"; require($INC); } -if (($CONFIG['ap_active'] == "Y") && ($CONFIG['auto_purge'] > 0)) +if (($CONFIG['auto_purge_active'] == "Y") && ($CONFIG['auto_purge'] > 0)) { // First calculate the timestamp if (function_exists('CREATE_TIME_SELECTIONS'))