]> git.mxchange.org Git - mailer.git/commitdiff
Now, all redirects to index.php points to modules.php?module=index
authorRoland Häder <roland@mxchange.org>
Fri, 4 Dec 2009 06:41:11 +0000 (06:41 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 4 Dec 2009 06:41:11 +0000 (06:41 +0000)
click.php
inc/modules/admin/admin-inc.php
inc/modules/loader.php
mailid.php
ref.php
sponsor_ref.php
surfbar.php
view.php

index 85950763f4f690add525dcf369a449c0542a7abb..438551175c8f34c3491a262be238a3810723a200 100644 (file)
--- 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();
index 3e51681a46d956c8513cd00e6dda51945a0e7193..8b136e04a7204f21d9c43b8242aaee45519840b7 100644 (file)
@@ -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... :(
index 3cb4076516f3c481d551f52d52a0606bc5426d75..77683c5366613eb15ef7673d1a97adb466ab8835 100644 (file)
@@ -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]
index c8941d31a002e3368979982a808a3dd4d9c513ef..33ee4cf417de3f1a16368994b5c5519318d48715 100644 (file)
@@ -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 0ee71430c87d7f125de81ccfb82e88168c6bc38f..f3fa2597bb8842c1952d0d279dfc4079ab8c421c 100644 (file)
--- 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
index b82c17679a943c8a3e7e2b8d392c6360c3d59906..6fccdfda7070c656e07f6df7f694a3da5fd0448a 100644 (file)
@@ -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
index ccec32bb02fc723e781783281d2aee9a2f1f57b9..35b10ffa3e83508cc1926c70c1d7c94c44c6b8fa 100644 (file)
@@ -94,7 +94,7 @@ if (!isMember()) {
                }
        } else {
                // Redirect
-               redirectToUrl('index.php');
+               redirectToUrl('modules.php?module=index');
        }
 } // END - if
 
index 6c185a6081a8fc250fe5329863e3298fcb8c394d..d708dff0212c2ceb4220bc6f7adaf3507d2233f9 100644 (file)
--- 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