Project

General

Profile

1
<?php
2
/**
3
 *
4
 * @category        frontend
5
 * @package         account
6
 * @author          WebsiteBaker Project
7
 * @copyright       2004-2009, Ryan Djurovich
8
 * @copyright       2009-2011, Website Baker Org. e.V.
9
 * @link			http://www.websitebaker2.org/
10
 * @license         http://www.gnu.org/licenses/gpl.html
11
 * @platform        WebsiteBaker 2.8.x
12
 * @requirements    PHP 5.2.2 and higher
13
 * @version         $Id: forgot.php 1349 2010-12-19 19:04:59Z Luisehahne $
14
 * @filesource		$HeadURL: svn://isteam.dynxs.de/wb-archiv/branches/2.8.x/wb/account/forgot.php $
15
 * @lastmodified    $Date: 2010-12-19 20:04:59 +0100 (Sun, 19 Dec 2010) $
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
?>
(3-3/14)