First batch of removal of the headers needed for revision-functions.php
[mailer.git] / sponsor_confirm.php
index ea061a4d64afe4234dab656d3afc26dec7ff6719..40cb7809080c8de8259f1f84f654b5b927d1811d 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Weiterleitungsscript fuer den Bestaetigungslink  *
  * -------------------------------------------------------------------- *
- * $Revision::                                                        $ *
- * $Date::                                                            $ *
- * $Tag:: 0.2.1-FINAL                                                 $ *
- * $Author::                                                          $ *
- * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://www.mxchange.org                  *
+ * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
+ * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software. You can redistribute it and/or modify *
  * it under the terms of the GNU General Public License as published by *
 // Load security stuff here
 require('inc/libs/security_functions.php');
 
-// Set module
-$GLOBALS['module'] = 'sponsor_confirm';
+// Init start time
+$GLOBALS['__start_time'] = microtime(TRUE);
 
-// Set 'CSS-Mode'
-$GLOBALS['output_mode'] = -2;
+// Set module / output mode
+$GLOBALS['__module']      = 'sponsor_confirm';
+$GLOBALS['__output_mode'] = -1;
 
 // Load the required file(s)
 require('inc/config-global.php');
@@ -50,16 +46,16 @@ require('inc/config-global.php');
 setContentType('text/html');
 
 // No hash provided by default
-$URL = 'modules.php?module=index';
+$url = 'modules.php?module=index';
 
 // Is there a hash?
-if (isGetRequestParameterSet('hash')) {
+if (isGetRequestElementSet('hash')) {
        // We have an refid here. So we simply add it
-       $URL = 'modules.php?module=index&what=sponsor_login&hash=' . getRequestParameter('hash');
+       $url = 'modules.php?module=index&what=sponsor_login&hash=' . getRequestElement('hash');
 } // END - if
 
 // Load the URL
-redirectToUrl($URL);
+redirectToUrl($url);
 
 // [EOF]
 ?>