]> git.mxchange.org Git - mailer.git/blobdiff - 0.2.1/inc/modules/admin/what-config_autopurge.php
Code rewritings, load base config improved and many minor fixes...
[mailer.git] / 0.2.1 / inc / modules / admin / what-config_autopurge.php
index b51cf75881eeaa382530bfff5623bd9d81c51d66..dd5ea931b1d85e76c13ab754b02b4897cf171dad 100644 (file)
@@ -12,7 +12,7 @@
  * -------------------------------------------------------------------- *\r
  *                                                                      *\r
  * -------------------------------------------------------------------- *\r
- * Copyright (c) 2003 - 2007 by Roland Haeder                           *\r
+ * Copyright (c) 2003 - 2008 by Roland Haeder                           *\r
  * For more information visit: http://www.mxchange.org                  *\r
  *                                                                      *\r
  * This program is free software; you can redistribute it and/or modify *\r
@@ -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