Revision 1496
Added by DarkViper over 13 years ago
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 |
// Define that this file has been loaded |
23 | 25 |
define('FUNCTIONS_FILE_LOADED', true); |
24 | 26 |
|
Also available in: Unified diff
activate globalExceptionHandler in inner core files