Now, all redirects to index.php points to modules.php?module=index
[mailer.git] / ref.php
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