Revision 106
Added by stefan about 20 years ago
| index.php | ||
|---|---|---|
| 1 | 1 |
<?php |
| 2 | 2 |
|
| 3 |
// $Id: index.php,v 1.3 2005/04/02 06:27:52 rdjurovich Exp $
|
|
| 3 |
// $Id$ |
|
| 4 | 4 |
|
| 5 | 5 |
/* |
| 6 | 6 |
|
| ... | ... | |
| 23 | 23 |
|
| 24 | 24 |
*/ |
| 25 | 25 |
|
| 26 |
// Include the config file |
|
| 27 |
require('../config.php');
|
|
| 28 |
require_once(WB_PATH."/framework/class.frontend.php"); |
|
| 29 |
$wb = new frontend(); |
|
| 30 |
|
|
| 31 |
|
|
| 26 | 32 |
// Required page details |
| 27 | 33 |
$page_id = 0; |
| 28 | 34 |
$page_description = ''; |
| ... | ... | |
| 37 | 43 |
define('VISIBILITY', 'public');
|
| 38 | 44 |
define('PAGE_CONTENT', 'search.php');
|
| 39 | 45 |
|
| 40 |
// Include the config file |
|
| 41 |
require('../config.php');
|
|
| 42 | 46 |
|
| 43 | 47 |
// Include database class file |
| 44 | 48 |
require_once(WB_PATH.'/framework/class.database.php'); |
Also available in: Unified diff
Renamed compatibility.php to frontend.functions.php.
Moved frontend functions from class frontend to frontend.functions.php.
Removed instances of strip_slashes_dummy. Replaced $this by $wb in a couple of places.
Created file initialize.php, where all initializations now take place (moved from class wb constructor).