X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=sponsor_ref.php;h=daebebb9f76113dde7895cafff25f92c74061cd7;hp=1192d5a896b2b066d1aa03d1edc7a4bc3f21c099;hb=50ec4267016d288831aee809120992423db563e1;hpb=20741b93fd58620af677a7f1039ffd16ea6ec689 diff --git a/sponsor_ref.php b/sponsor_ref.php index 1192d5a896..daebebb9f7 100644 --- a/sponsor_ref.php +++ b/sponsor_ref.php @@ -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:: $ * @@ -37,10 +37,11 @@ // 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