]> git.mxchange.org Git - mailer.git/blobdiff - 0.2.1/inc/autopurge.php
Code rewritings, load base config improved and many minor fixes...
[mailer.git] / 0.2.1 / inc / autopurge.php
index 9f4a0522d8be230cce3fba875ec730b27e42281f..b9d7e68adb0cdbbc3b31539047bd9d8d49c81949 100644 (file)
 // Some security stuff...\r
 if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))\r
 {\r
-       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";\r
+       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
        require($INC);\r
 }\r
 \r
-if (($CONFIG['ap_active'] == "Y") && ($CONFIG['auto_purge'] > 0))\r
+if (($CONFIG['auto_purge_active'] == "Y") && ($CONFIG['auto_purge'] > 0))\r
 {\r
        // First calculate the timestamp\r
        if (function_exists('CREATE_TIME_SELECTIONS'))\r