Code rewritings, load base config improved and many minor fixes...
[mailer.git] / 0.2.1 / inc / modules / admin / what-config_autopurge.php
index 958b4f0e4b67937337b86218e9dcb162e9eb4b0b..dd5ea931b1d85e76c13ab754b02b4897cf171dad 100644 (file)
@@ -34,7 +34,7 @@
 // Some security stuff...\r
 if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))\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
 // Add description as navigation point\r
@@ -68,7 +68,7 @@ if (isset($_POST['ok']))
 \r
        // Mail confirmation links\r
        define('_CFG_AUTO_PURGE', CREATE_TIME_SELECTIONS($CONFIG['auto_purge'], "auto_purge", "MWD"));\r
-       if ($CONFIG['ap_active'] == "N")\r
+       if ($CONFIG['auto_purge_active'] == "N")\r
        {\r
                define('_CFG_AP_ACTIVE_N', " checked");\r
                define('_CFG_AP_ACTIVE_Y', "");\r