X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=sponsor_ref.php;h=eed2e8315c91d4e208758a8564b94ff94772672e;hp=b251f6922adfe69d2682d305f13e1d10aa4041f6;hb=cb11b0028323b24de48bfbab2ed576455e0d9465;hpb=cd7d344ea7007cfa20413acd3e03e50f0ab86d86 diff --git a/sponsor_ref.php b/sponsor_ref.php index b251f6922a..eed2e8315c 100644 --- a/sponsor_ref.php +++ b/sponsor_ref.php @@ -10,13 +10,8 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Weiterleitungsscript fuer die Referral-Links * * -------------------------------------------------------------------- * - * $Revision:: $ * - * $Date:: $ * - * $Tag:: 0.2.1-FINAL $ * - * $Author:: $ * - * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2013 by Mailer Developer Team * + * Copyright (c) 2009 - 2016 by Mailer Developer Team * * For more information visit: http://mxchange.org * * * * This program is free software. You can redistribute it and/or modify * @@ -44,8 +39,8 @@ $GLOBALS['__start_time'] = microtime(TRUE); $GLOBALS['__module'] = 'sponsor_ref'; $GLOBALS['__output_mode'] = -1; -// Load the required file(s) -require('inc/config-global.php'); +// Initialize application +require('inc/init.php'); // Set content type for e.g. search engines setContentType('text/html'); @@ -54,7 +49,7 @@ setContentType('text/html'); $url = 'modules.php?module=index'; // Is there a referral id? -if (isReferralIdValid()) { +if (isValidReferralId()) { // We have an refid here. So we simply add it $url .= '&what=sponsor_reg&refid=' . determineReferralId(); } // END - if