Revision 1508
Added by Luisehahne about 14 years ago
| login.php | ||
|---|---|---|
| 29 | 29 |
} |
| 30 | 30 |
} |
| 31 | 31 |
|
| 32 |
require_once(WB_PATH.'/framework/class.frontend.php'); |
|
| 33 |
$wb_inst = new wb(); |
|
| 34 |
$page_id = !empty($_SESSION['PAGE_ID']) ? $_SESSION['PAGE_ID'] : 0; |
|
| 35 |
|
|
| 32 | 36 |
// Required page details |
| 33 |
$page_id = 0; |
|
| 37 |
// $page_id = 0;
|
|
| 34 | 38 |
$page_description = ''; |
| 35 | 39 |
$page_keywords = ''; |
| 36 |
define('PAGE_ID', 0);
|
|
| 40 |
define('PAGE_ID', $page_id);
|
|
| 37 | 41 |
define('ROOT_PARENT', 0);
|
| 38 | 42 |
define('PARENT', 0);
|
| 39 | 43 |
define('LEVEL', 0);
|
| ... | ... | |
| 76 | 80 |
|
| 77 | 81 |
// Include the index (wrapper) file |
| 78 | 82 |
require(WB_PATH.'/index.php'); |
| 79 |
|
|
Also available in: Unified diff
fixed print_error exit in frontend account