// 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