One more found
[mailer.git] / sponsor_confirm.php
index 4d9530b452e3d3038bc52ea5682d58b6ecc1ffc9..c5e5636ea15438d9aab920359acf73e38de32368 100644 (file)
@@ -16,8 +16,8 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
- * For more information visit: http://www.mxchange.org                  *
+ * Copyright (c) 2009 - 2011 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['startTime'] = microtime(true);
 
-// Set 'CSS-Mode'
+// Set module / output mode
+$GLOBALS['__module'] = 'sponsor_confirm';
 $GLOBALS['output_mode'] = -2;
 
 // Load the required file(s)
@@ -50,16 +51,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]
 ?>