X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=sponsor_ref.php;h=c90d38ca272da6c7524a3b19ade88086f7de5e5a;hp=2b6cad86e136238951a23b04bb1cceca0601c41b;hb=4b7f401f2a4680ae46ca41c57f749cfe35163660;hpb=263a089d8a499e0e26d0af9e7aa7639f88b8ca60 diff --git a/sponsor_ref.php b/sponsor_ref.php index 2b6cad86e1..c90d38ca27 100644 --- a/sponsor_ref.php +++ b/sponsor_ref.php @@ -18,6 +18,7 @@ * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * + * Copyright (c) 2009, 2010 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software. You can redistribute it and/or modify * @@ -47,6 +48,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 +60,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