Network Mega-Ad fully added, some charsets fixed (wrong guess by me)
[mailer.git] / sponsor_ref.php
index 186283f6af2eb415cc6bb2c74be060b9be14bde2..8f732c086c8f55bd067f399bfffbae746c017f2f 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 09/09/2005 *
- * ===============                              Last change: 05/18/2008 *
+ * Mailer v0.2.1-FINAL                                Start: 09/09/2005 *
+ * ===================                          Last change: 05/18/2008 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : sponsor_ref.php                                  *
@@ -47,6 +47,9 @@ $GLOBALS['output_mode'] = -2;
 // Load the required file(s)
 require('inc/config-global.php');
 
+// Set content type for e.g. search engines
+setContentType('text/html');
+
 // Base URL for redirection
 $URL = 'modules.php?module=index&amp;what=sponsor_reg&amp;refid=';
 
@@ -56,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