X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=sponsor_confirm.php;h=589db853d7f999987b30c864c845f06af81e167b;hp=875728f9b0b58ea1cf20a6258af9673d4ee1859a;hb=095f5ab59b539834d2c67e5d409d01820e10d8be;hpb=57227d33e870ec5cd271209c4a978a52b45c2dd6 diff --git a/sponsor_confirm.php b/sponsor_confirm.php index 875728f9b0..589db853d7 100644 --- a/sponsor_confirm.php +++ b/sponsor_confirm.php @@ -10,15 +10,9 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Weiterleitungsscript fuer den Bestaetigungslink * * -------------------------------------------------------------------- * - * $Revision:: $ * - * $Date:: $ * - * $Tag:: 0.2.1-FINAL $ * - * $Author:: $ * - * Needs to be in all Files and every File needs "svn propset * - * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * - * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * For more information visit: http://www.mxchange.org * + * 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 * * it under the terms of the GNU General Public License as published by * @@ -38,29 +32,30 @@ // Load security stuff here require('inc/libs/security_functions.php'); -// Set module -$GLOBALS['module'] = 'sponsor_confirm'; +// Init start time +$GLOBALS['__start_time'] = microtime(TRUE); -// Set 'CSS-Mode' -$GLOBALS['output_mode'] = -2; +// Set module / output mode +$GLOBALS['__module'] = 'sponsor_confirm'; +$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 -if (isSpider()) setContentType('text/html'); +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] ?>