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 8595076..4385511 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 3e51681..8b136e0 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 3cb4076..77683c5 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 c8941d3..33ee4cf 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 0ee7143..f3fa259 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 b82c176..6fccdfd 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 ccec32b..35b10ff 100644 (file)
@@ -94,7 +94,7 @@ if (!isMember()) {
                }
        } else {
                // Redirect
-               redirectToUrl('index.php');
+               redirectToUrl('modules.php?module=index');
        }
 } // END - if
 
index 6c185a6..d708dff 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