Template improved, old lost code removed, some fixes
[mailer.git] / sponsor_ref.php
index b82c17679a943c8a3e7e2b8d392c6360c3d59906..8f732c086c8f55bd067f399bfffbae746c017f2f 100644 (file)
@@ -48,7 +48,7 @@ $GLOBALS['output_mode'] = -2;
 require('inc/config-global.php');
 
 // Set content type for e.g. search engines
-if (isSpider()) setContentType('text/html');
+setContentType('text/html');
 
 // Base URL for redirection
 $URL = 'modules.php?module=index&what=sponsor_reg&refid=';
@@ -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