]> git.mxchange.org Git - mailer.git/commitdiff
Obsolete action=login removed from URLs
authorRoland Häder <roland@mxchange.org>
Fri, 6 Mar 2009 18:29:28 +0000 (18:29 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 6 Mar 2009 18:29:28 +0000 (18:29 +0000)
inc/modules/admin.php
inc/modules/guest/what-admin.php

index 9208c9f1346a3c7b442db9c81dd8181a8caa9e71..aed89a43eabd77624309c84a11d10cc8e2a6497c 100644 (file)
@@ -68,7 +68,7 @@ if (!isAdminRegistered()) {
                        $done = changeDataInFile(constant('PATH')."inc/config.php", "ADMIN-SETUP", "define('admin_registered', ", ");", "true", 0);
                        if ($done === true) {
                                // Registering is done
-                               LOAD_URL("modules.php?module=admin&amp;action=login&register=done");
+                               LOAD_URL("modules.php?module=admin&amp;register=done");
                        } else {
                                $ret = getMessage('ADMIN_CANNOT_COMPLETE');
                        }
@@ -96,7 +96,7 @@ if (!isAdminRegistered()) {
                                changeDataInFile(constant('PATH')."inc/config.php", "ADMIN-SETUP", "define('admin_registered', ", ");", "true", 0);
 
                                // Load URL for login
-                               LOAD_URL("modules.php?module=admin&amp;action=login");
+                               LOAD_URL("modules.php?module=admin");
                        } // END - if
                        break;
                }
@@ -189,7 +189,7 @@ if (!isAdminRegistered()) {
        // At leat one administrator account was created
        if ((isSessionVariableSet('admin_login')) && (isSessionVariableSet('admin_md5')) && (isSessionVariableSet('admin_last')) && (isSessionVariableSet('admin_to'))) {
                // Timeout for last login, we have to logout first!
-               LOAD_URL("modules.php?module=admin&amp;action=login&amp;logout=1");
+               LOAD_URL("modules.php?module=admin&amp;logout=1");
        } // END - if
 
        if (REQUEST_ISSET_GET(('register'))) {
index 266203e0f16d6137029f9bdcae8f1461c35906f1..3fee256538e6e7aaeef50fcc236bae234f2701b3 100644 (file)
@@ -37,8 +37,8 @@ if (!defined('__SECURITY')) {
        require($INC);
 }
 
-// Redirect...
-LOAD_URL("modules.php?module=admin&amp;action=login");
+// A simple redirect...
+LOAD_URL("modules.php?module=admin");
 
 //
 ?>