From: Roland Häder Date: Fri, 4 Dec 2009 06:41:11 +0000 (+0000) Subject: Now, all redirects to index.php points to modules.php?module=index X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=434643a428ccc9d78695347eef5a456342e9f114;p=mailer.git Now, all redirects to index.php points to modules.php?module=index --- diff --git a/click.php b/click.php index 85950763f4..438551175c 100644 --- a/click.php +++ b/click.php @@ -65,7 +65,7 @@ if (((isGetRequestParameterSet('user')) || (isGetRequestParameterSet('reseller') } // END - if // Load index page -redirectToUrl('index.php'); +redirectToUrl('modules.php?module=index'); // Shutdown shutdown(); diff --git a/inc/modules/admin/admin-inc.php b/inc/modules/admin/admin-inc.php index 3e51681a46..8b136e04a7 100644 --- a/inc/modules/admin/admin-inc.php +++ b/inc/modules/admin/admin-inc.php @@ -1283,7 +1283,7 @@ function adminUpdateTaskData ($id, $row, $data) { // Should be admin! if (!isAdmin()) { // Not an admin so redirect better - redirectToUrl('index.php'); + redirectToUrl('modules.php?module=index'); } // END - if // Is the id not set, then we need a backtrace here... :( diff --git a/inc/modules/loader.php b/inc/modules/loader.php index 3cb4076516..77683c5366 100644 --- a/inc/modules/loader.php +++ b/inc/modules/loader.php @@ -52,11 +52,11 @@ if (isGetRequestParameterSet('url')) { loadTemplate('loader', false, $url); } else { // URL invalid - redirectToUrl('index.php'); + redirectToUrl('modules.php?module=index'); } } else { // Invalid or no URL entered! - redirectToUrl('index.php'); + redirectToUrl('modules.php?module=index'); } // [EOF] diff --git a/mailid.php b/mailid.php index c8941d31a0..33ee4cf417 100644 --- a/mailid.php +++ b/mailid.php @@ -84,7 +84,7 @@ if (($url_userid) > 0 && (($url_mid > 0) || ($url_bid > 0)) && (getTotalFatalErr $type = 'bonusid'; $urlId = $url_bid; } else { // Problem: No id entered - redirectToUrl('index.php'); + redirectToUrl('modules.php?module=index'); } if (SQL_NUMROWS($result_link) == 1) { @@ -223,7 +223,7 @@ if (!empty($errorCode)) { redirectToConfiguredUrl('reject_url'); } else { // Redirect to index - redirectToUrl('index.php'); + redirectToUrl('modules.php?module=index'); } break; diff --git a/ref.php b/ref.php index 0ee71430c8..f3fa2597bb 100644 --- a/ref.php +++ b/ref.php @@ -50,7 +50,7 @@ require('inc/config-global.php'); if (isSpider()) setContentType('text/html'); // No refid by default -$URL = 'index.php'; +$URL = 'modules.php?module=index'; if (determineReferalId() > 0) { // Test if nickname or numeric id @@ -90,7 +90,7 @@ if (determineReferalId() > 0) { break; case 'index': - $URL = 'index.php'; + $URL = 'modules.php?module=index'; break; } // END - switch } // END - if diff --git a/sponsor_ref.php b/sponsor_ref.php index b82c17679a..6fccdfda70 100644 --- a/sponsor_ref.php +++ b/sponsor_ref.php @@ -59,7 +59,7 @@ if (!empty($GLOBALS['refid'])) { $URL .= $GLOBALS['refid']; } else { // No refid so we redirect to the index page - $URL = 'index.php'; + $URL = 'modules.php?module=index'; } // Load the URL diff --git a/surfbar.php b/surfbar.php index ccec32bb02..35b10ffa3e 100644 --- a/surfbar.php +++ b/surfbar.php @@ -94,7 +94,7 @@ if (!isMember()) { } } else { // Redirect - redirectToUrl('index.php'); + redirectToUrl('modules.php?module=index'); } } // END - if diff --git a/view.php b/view.php index 6c185a6081..d708dff021 100644 --- a/view.php +++ b/view.php @@ -74,7 +74,7 @@ if (((isGetRequestParameterSet('user')) || (isGetRequestParameterSet('reseller') SQL_FREERESULT($result); } else { // Do nothing for now - redirectToUrl('index.php'); + redirectToUrl('modules.php?module=index'); } // Shutdown