Hotfix
[mailer.git] / click.php
index fb4b5c105b39cf30a3ce389770bb0bfc5a228e6c..2b0d1dd1f04f7e5d7e4baf6851c5f54aed80a744 100644 (file)
--- a/click.php
+++ b/click.php
@@ -17,7 +17,7 @@
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://www.mxchange.org                  *
+ * 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 *
@@ -38,6 +38,9 @@
 // Load security stuff here
 require('inc/libs/security_functions.php');
 
+// Init start time
+$GLOBALS['startTime'] = microtime(true);
+
 // Set module
 $GLOBALS['module'] = 'click';
 $GLOBALS['output_mode'] = -1;
@@ -55,7 +58,7 @@ if ((isGetRequestElementSet('user')) && (isGetRequestElementSet('banner'))) {
 
        // A line has been updated?
        if ((!SQL_HASZEROAFFECTED()) && (isGetRequestElementSet('user'))) {
-               // Redirect to the user's referal link
+               // Redirect to the user's referral link
                redirectToUrl('ref.php?refid=' . bigintval(getRequestElement('user')));
        } // END - if
 } // END - if