Charset fixed for SeCash, TODOs.txt updated, deprecated template removed
[mailer.git] / sponsor_ref.php
index 2b6cad86e136238951a23b04bb1cceca0601c41b..8f732c086c8f55bd067f399bfffbae746c017f2f 100644 (file)
@@ -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&what=sponsor_reg&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