Fixes/rewrites for content-type
[mailer.git] / sponsor_confirm.php
index b2a330c6753dc9ec0976274afddf761e7e2618ef..c6301e32758e912a74d673291e8cc7e087bf3ae9 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 09/09/2005 *
- * ===============                              Last change: 05/18/2008 *
+ * Mailer v0.2.1-FINAL                                Start: 09/09/2005 *
+ * ===================                          Last change: 05/18/2008 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : sponsor_confirm.php                              *
@@ -47,13 +47,16 @@ $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');
+
 // No hash provided by default
 $URL = 'modules.php?module=index';
 
 // Is there a hash?
-if (isGetRequestElementSet('hash')) {
+if (isGetRequestParameterSet('hash')) {
        // We have an refid here. So we simply add it
-       $URL = 'modules.php?module=index&amp;what=sponsor_login&amp;hash=' . getRequestElement('hash');
+       $URL = 'modules.php?module=index&amp;what=sponsor_login&amp;hash=' . getRequestParameter('hash');
 } // END - if
 
 // Load the URL