Revision 1718
Added by Dietmar about 12 years ago
index.php | ||
---|---|---|
3 | 3 |
* |
4 | 4 |
* @category frontend |
5 | 5 |
* @package search |
6 |
* @author WebsiteBaker Project |
|
7 |
* @copyright 2004-2009, Ryan Djurovich |
|
8 |
* @copyright 2009-2011, Website Baker Org. e.V. |
|
6 |
* @author Ryan Djurovich, WebsiteBaker Project |
|
7 |
* @copyright 2009-2012, WebsiteBaker Org. e.V. |
|
9 | 8 |
* @link http://www.websitebaker2.org/ |
10 | 9 |
* @license http://www.gnu.org/licenses/gpl.html |
11 | 10 |
* @platform WebsiteBaker 2.8.x |
... | ... | |
19 | 18 |
// Include the config file |
20 | 19 |
require('../config.php'); |
21 | 20 |
|
21 |
$page_id = (isset($_SESSION['PAGE_ID']) && ($_SESSION['PAGE_ID']!='') ? $_SESSION['PAGE_ID'] : 0); |
|
22 |
|
|
22 | 23 |
// Required page details |
23 |
$page_id = 0; |
|
24 | 24 |
$page_description = ''; |
25 | 25 |
$page_keywords = ''; |
26 |
define('PAGE_ID', 0);
|
|
26 |
define('PAGE_ID', $page_id);
|
|
27 | 27 |
define('ROOT_PARENT', 0); |
28 | 28 |
define('PARENT', 0); |
29 | 29 |
define('LEVEL', 0); |
... | ... | |
52 | 52 |
|
53 | 53 |
// Include index (wrapper) file |
54 | 54 |
require(WB_PATH.'/index.php'); |
55 |
|
|
56 |
?> |
Also available in: Unified diff
! update headerinfo
! change multi-dimensional arrays (variables) to similar arrays