X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=sponsor_ref.php;h=8f732c086c8f55bd067f399bfffbae746c017f2f;hp=b82c17679a943c8a3e7e2b8d392c6360c3d59906;hb=01c4a1aa0914ebb2ab1d5df3d592246fb86e50cb;hpb=02a212e4758d0ee6cd970c4ea9e51ca603bd3b52 diff --git a/sponsor_ref.php b/sponsor_ref.php index b82c17679a..8f732c086c 100644 --- a/sponsor_ref.php +++ b/sponsor_ref.php @@ -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