]> git.mxchange.org Git - mailer.git/blobdiff - sponsor_ref.php
Next batch of fixed language ids (renamed, see ticket #219)
[mailer.git] / sponsor_ref.php
index 1192d5a896b2b066d1aa03d1edc7a4bc3f21c099..1f167b2edcaac1c2c5b3086a96b5e7906ca99117 100644 (file)
@@ -6,9 +6,9 @@
  * -------------------------------------------------------------------- *
  * File              : sponsor_ref.php                                  *
  * -------------------------------------------------------------------- *
- * Short description : Redirection for the referal link                 *
+ * Short description : Redirection for the referral link                *
  * -------------------------------------------------------------------- *
- * Kurzbeschreibung  : Weiterleitungsscript fuer die Referal-Links      *
+ * Kurzbeschreibung  : Weiterleitungsscript fuer die Referral-Links     *
  * -------------------------------------------------------------------- *
  * $Revision::                                                        $ *
  * $Date::                                                            $ *
 // Load security stuff here
 require('inc/libs/security_functions.php');
 
-// Set module
-$GLOBALS['module'] = 'sponsor_ref';
+// Init start time
+$GLOBALS['startTime'] = microtime(true);
 
-// Set 'CSS-Mode'
+// Set module / output mode
+$GLOBALS['__module'] = 'sponsor_ref';
 $GLOBALS['output_mode'] = -2;
 
 // Load the required file(s)
@@ -52,10 +53,10 @@ setContentType('text/html');
 // Base URL for redirection
 $url = 'modules.php?module=index';
 
-// Do we have a referal id?
-if (isReferalIdValid()) {
+// Do we have a referral id?
+if (isReferralIdValid()) {
        // We have an refid here. So we simply add it
-       $url .= '&what=sponsor_reg&refid=' . determineReferalId();
+       $url .= '&what=sponsor_reg&refid=' . determineReferralId();
 } // END - if
 
 // Load the URL