Was missing...
[mailer.git] / sponsor_confirm.php
index d1335e3793b975fe871322b347aaeaafa38b3dab..875728f9b0b58ea1cf20a6258af9673d4ee1859a 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                              *
@@ -42,18 +42,21 @@ require('inc/libs/security_functions.php');
 $GLOBALS['module'] = 'sponsor_confirm';
 
 // Set 'CSS-Mode'
-$GLOBALS['output_mode'] = '0';
+$GLOBALS['output_mode'] = -2;
 
 // Load the required file(s)
 require('inc/config-global.php');
 
+// Set content type for e.g. search engines
+if (isSpider()) 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