Revision 1496
Added by DarkViper about 14 years ago
| frontend.functions.php | ||
|---|---|---|
| 16 | 16 |
* |
| 17 | 17 |
*/ |
| 18 | 18 |
|
| 19 |
// Must include code to stop this file being access directly |
|
| 20 |
if(defined('WB_PATH') == false) { die("Cannot access this file directly"); }
|
|
| 21 |
|
|
| 19 |
/* -------------------------------------------------------- */ |
|
| 20 |
// Must include code to stop this file being accessed directly |
|
| 21 |
require_once('globalExceptionHandler.php');
|
|
| 22 |
if(!defined('WB_PATH')) { throw new IllegalFileException(); }
|
|
| 23 |
/* -------------------------------------------------------- */ |
|
| 22 | 24 |
// compatibility mode for versions before 2.8.1 |
| 23 | 25 |
$admin = $wb; |
| 24 | 26 |
$default_link = $wb->default_link; |
Also available in: Unified diff
activate globalExceptionHandler in inner core files