]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_secure.php
Obsoleted parameters to SQL_AFFECTED_ROWS() removed, OPEN_TABLE() and CLOSE_TABLE...
[mailer.git] / inc / modules / admin / what-config_secure.php
index 2ad3c4bf37f2fcc1c6067aa07edb55ccaa02900f..bde6c556e2a7b33e53b065f3f74a2cee6c3641ff 100644 (file)
@@ -37,8 +37,6 @@ if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))
        $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
        require($INC);
 }
-global $link;
-
 // Add description as navigation point
 ADD_DESCR("admin", basename(__FILE__));
 
@@ -54,7 +52,7 @@ 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
@@ -63,10 +61,10 @@ if (isset($_POST['ok']))
  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");