Revision 1496
Added by DarkViper over 13 years ago
class.database.php | ||
---|---|---|
25 | 25 |
|
26 | 26 |
*/ |
27 | 27 |
|
28 |
// Must include code to stop this file being access directly |
|
29 |
if(defined('WB_PATH') == false) { die("Cannot access this file directly"); } |
|
30 |
|
|
28 |
/* -------------------------------------------------------- */ |
|
29 |
// Must include code to stop this file being accessed directly |
|
30 |
require_once('globalExceptionHandler.php'); |
|
31 |
if(!defined('WB_PATH')) { throw new IllegalFileException(); } |
|
32 |
/* -------------------------------------------------------- */ |
|
31 | 33 |
if(!defined('DB_URL')) { |
32 | 34 |
//define('DB_URL', DB_TYPE.'://'.DB_USERNAME.':'.DB_PASSWORD.'@'.DB_HOST.'/'.DB_NAME); |
33 | 35 |
} |
Also available in: Unified diff
activate globalExceptionHandler in inner core files