]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_secure.php
script does now also regonize the difference between payout in withdraw in wernis...
[mailer.git] / inc / modules / admin / what-config_secure.php
index d065ee051bdebeb2cd3a6f7b740ed875939791e5..07011ba80f861f51347a018f39f3aa2dc66064b1 100644 (file)
@@ -54,19 +54,19 @@ if (isset($_POST['ok']))
                unset($_POST['salt_length']);
 
                // Redirect to logout link
-               LOAD_URL(URL."/modules.php?module=admin&logout=1");
+               LOAD_URL("modules.php?module=admin&logout=1");
        }
 
        // Save settings
-       ADMIN_SAVE_SETTINGS($_POST, "_config", "config='0'");
+       ADMIN_SAVE_SETTINGS($_POST);
 }
  else
 {
        // Remember stuff in constants
-       define('__PASS_LEN'   , $CONFIG['pass_len']);
+       define('__PASS_LEN'   , $_CONFIG['pass_len']);
 
        // Password-salt length
-       define('__SALT_LENGTH', $CONFIG['salt_length']);
+       define('__SALT_LENGTH', $_CONFIG['salt_length']);
 
        // Load template
        LOAD_TEMPLATE("admin_config_secure");