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 1566 2012-01-07 02:21:26Z Luisehahne $
14
 * @filesource		$HeadURL: svn://isteam.dynxs.de/wb-archiv/branches/2.8.x/wb/account/forgot.php $
15
 * @lastmodified    $Date: 2012-01-07 03:21:26 +0100 (Sat, 07 Jan 2012) $
16
 *
17
 */
18

    
19
require_once('../config.php');
20

    
21
$page_id = (!empty($_SESSION['PAGE_ID']) ? $_SESSION['PAGE_ID'] : 0);
22

    
23
// Required page details
24
// $page_id = 0;
25
$page_description = '';
26
$page_keywords = '';
27
define('PAGE_ID', $page_id);
28
define('ROOT_PARENT', 0);
29
define('PARENT', 0);
30
define('LEVEL', 0);
31
define('PAGE_TITLE', $MENU['FORGOT']);
32
define('MENU_TITLE', $MENU['FORGOT']);
33
define('VISIBILITY', 'public');
34

    
35
if(!FRONTEND_LOGIN) {
36
	if(INTRO_PAGE) {
37
		header('Location: '.WB_URL.PAGES_DIRECTORY.'/index.php');
38
		exit(0);
39
	} else {
40
		header('Location: '.WB_URL.'/index.php');
41
		exit(0);
42
	}
43
}
44

    
45
// Set the page content include file
46
define('PAGE_CONTENT', WB_PATH.'/account/forgot_form.php');
47

    
48
// Set auto authentication to false
49
$auto_auth = false;
50

    
51
// Include the index (wrapper) file
52
require(WB_PATH.'/index.php');
(3-3/16)