X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=sponsor_ref.php;h=8f732c086c8f55bd067f399bfffbae746c017f2f;hp=2b6cad86e136238951a23b04bb1cceca0601c41b;hb=8fc1c99d323e7599dd91071a5a772261b5d079a7;hpb=263a089d8a499e0e26d0af9e7aa7639f88b8ca60 diff --git a/sponsor_ref.php b/sponsor_ref.php index 2b6cad86e1..8f732c086c 100644 --- a/sponsor_ref.php +++ b/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&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