Revision 1499
Added by DarkViper over 13 years ago
functions.php | ||
---|---|---|
15 | 15 |
* @lastmodified $Date$ |
16 | 16 |
* |
17 | 17 |
*/ |
18 |
|
|
19 | 18 |
/* -------------------------------------------------------- */ |
20 | 19 |
// Must include code to stop this file being accessed directly |
21 |
require_once('globalExceptionHandler.php'); |
|
22 |
if(!defined('WB_PATH')) { throw new IllegalFileException(); } |
|
20 |
if(!defined('WB_PATH')) { |
|
21 |
require_once(dirname(__FILE__).'/globalExceptionHandler.php'); |
|
22 |
throw new IllegalFileException(); |
|
23 |
} |
|
23 | 24 |
/* -------------------------------------------------------- */ |
24 | 25 |
// Define that this file has been loaded |
25 | 26 |
define('FUNCTIONS_FILE_LOADED', true); |
Also available in: Unified diff
little fix in calling globalExceptionHandler from inner core files