1 |
1262
|
Luisehahne
|
<?php
|
2 |
|
|
/**
|
3 |
|
|
*
|
4 |
|
|
* @category frontend
|
5 |
|
|
* @package account
|
6 |
1268
|
Luisehahne
|
* @author WebsiteBaker Project
|
7 |
1262
|
Luisehahne
|
* @copyright 2004-2009, Ryan Djurovich
|
8 |
1349
|
Luisehahne
|
* @copyright 2009-2011, Website Baker Org. e.V.
|
9 |
1262
|
Luisehahne
|
* @link http://www.websitebaker2.org/
|
10 |
|
|
* @license http://www.gnu.org/licenses/gpl.html
|
11 |
|
|
* @platform WebsiteBaker 2.8.x
|
12 |
1373
|
Luisehahne
|
* * @requirements PHP 5.2.2 and higher
|
13 |
1268
|
Luisehahne
|
* @version $Id$
|
14 |
|
|
* @filesource $HeadURL$
|
15 |
1262
|
Luisehahne
|
* @lastmodified $Date$
|
16 |
|
|
*
|
17 |
|
|
*/
|
18 |
|
|
|
19 |
|
|
require_once('../config.php');
|
20 |
|
|
|
21 |
|
|
// Required page details
|
22 |
|
|
$page_id = 0;
|
23 |
|
|
$page_description = '';
|
24 |
|
|
$page_keywords = '';
|
25 |
|
|
define('PAGE_ID', 0);
|
26 |
|
|
define('ROOT_PARENT', 0);
|
27 |
|
|
define('PARENT', 0);
|
28 |
|
|
define('LEVEL', 0);
|
29 |
|
|
define('PAGE_TITLE', $MENU['FORGOT']);
|
30 |
|
|
define('MENU_TITLE', $MENU['FORGOT']);
|
31 |
|
|
define('VISIBILITY', 'public');
|
32 |
|
|
|
33 |
|
|
if(!FRONTEND_LOGIN) {
|
34 |
|
|
if(INTRO_PAGE) {
|
35 |
|
|
header('Location: '.WB_URL.PAGES_DIRECTORY.'/index.php');
|
36 |
|
|
exit(0);
|
37 |
|
|
} else {
|
38 |
|
|
header('Location: '.WB_URL.'/index.php');
|
39 |
|
|
exit(0);
|
40 |
|
|
}
|
41 |
|
|
}
|
42 |
|
|
|
43 |
|
|
// Set the page content include file
|
44 |
|
|
define('PAGE_CONTENT', WB_PATH.'/account/forgot_form.php');
|
45 |
|
|
|
46 |
|
|
// Set auto authentication to false
|
47 |
|
|
$auto_auth = false;
|
48 |
|
|
|
49 |
|
|
// Include the index (wrapper) file
|
50 |
|
|
require(WB_PATH.'/index.php');
|
51 |
|
|
|
52 |
239
|
stefan
|
?>
|