From d26e8ed6303691be6c5a0eff216494bdd6cfbe8d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 6 Mar 2009 18:29:28 +0000 Subject: [PATCH] Obsolete action=login removed from URLs --- inc/modules/admin.php | 6 +++--- inc/modules/guest/what-admin.php | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/inc/modules/admin.php b/inc/modules/admin.php index 9208c9f134..aed89a43ea 100644 --- a/inc/modules/admin.php +++ b/inc/modules/admin.php @@ -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&action=login®ister=done"); + LOAD_URL("modules.php?module=admin&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&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&action=login&logout=1"); + LOAD_URL("modules.php?module=admin&logout=1"); } // END - if if (REQUEST_ISSET_GET(('register'))) { diff --git a/inc/modules/guest/what-admin.php b/inc/modules/guest/what-admin.php index 266203e0f1..3fee256538 100644 --- a/inc/modules/guest/what-admin.php +++ b/inc/modules/guest/what-admin.php @@ -37,8 +37,8 @@ if (!defined('__SECURITY')) { require($INC); } -// Redirect... -LOAD_URL("modules.php?module=admin&action=login"); +// A simple redirect... +LOAD_URL("modules.php?module=admin"); // ?> -- 2.39.5