2 /************************************************************************
3 * Mailer v0.2.1-FINAL Start: 09/09/2005 *
4 * =================== Last change: 05/18/2008 *
6 * -------------------------------------------------------------------- *
7 * File : sponsor_confirm.php *
8 * -------------------------------------------------------------------- *
9 * Short description : Redirection for the confirmation link *
10 * -------------------------------------------------------------------- *
11 * Kurzbeschreibung : Weiterleitungsscript fuer den Bestaetigungslink *
12 * -------------------------------------------------------------------- *
13 * Copyright (c) 2003 - 2009 by Roland Haeder *
14 * Copyright (c) 2009 - 2016 by Mailer Developer Team *
15 * For more information visit: http://mxchange.org *
17 * This program is free software. You can redistribute it and/or modify *
18 * it under the terms of the GNU General Public License as published by *
19 * the Free Software Foundation; either version 2 of the License. *
21 * This program is distributed in the hope that it will be useful, *
22 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
24 * GNU General Public License for more details. *
26 * You should have received a copy of the GNU General Public License *
27 * along with this program; if not, write to the Free Software *
28 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, *
30 ************************************************************************/
32 // Load security stuff here
33 require('inc/libs/security_functions.php');
36 $GLOBALS['__start_time'] = microtime(TRUE);
38 // Set module / output mode
39 $GLOBALS['__module'] = 'sponsor_confirm';
40 $GLOBALS['__output_mode'] = -1;
42 // Initialize application
43 require('inc/init.php');
45 // Set content type for e.g. search engines
46 setContentType('text/html');
48 // No hash provided by default
49 $url = 'modules.php?module=index';
52 if (isGetRequestElementSet('hash')) {
53 // We have an refid here. So we simply add it
54 $url = 'modules.php?module=index&what=sponsor_login&hash=' . getRequestElement('hash');