X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=sponsor_confirm.php;h=589db853d7f999987b30c864c845f06af81e167b;hp=4d9530b452e3d3038bc52ea5682d58b6ecc1ffc9;hb=095f5ab59b539834d2c67e5d409d01820e10d8be;hpb=c8d76610eb94093d4eed4fcd8a6cb72e74c8f6d8 diff --git a/sponsor_confirm.php b/sponsor_confirm.php index 4d9530b452..589db853d7 100644 --- a/sponsor_confirm.php +++ b/sponsor_confirm.php @@ -10,14 +10,9 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Weiterleitungsscript fuer den Bestaetigungslink * * -------------------------------------------------------------------- * - * $Revision:: $ * - * $Date:: $ * - * $Tag:: 0.2.1-FINAL $ * - * $Author:: $ * - * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009, 2010 by Mailer Developer Team * - * 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 * @@ -37,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 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] ?>