Revision 1487
Added by DarkViper about 13 years ago
initialize.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"); } |
|
19 |
//require_once(dirname(__FILE__).'/globalExceptionHandler.php'); |
|
20 |
//// Must include code to stop this file being access directly |
|
21 |
//if(!defined('WB_PATH')) { throw new Exception('Illegaler Aufruf!'); } |
|
22 |
|
|
23 |
require_once('globalExceptionHandler.php'); |
|
24 |
if(!defined('WB_PATH')) { throw new IllegalFileException(); } |
|
25 |
//if(defined('WB_PATH') == false) { die("Cannot access this file directly"); } |
|
26 |
|
|
21 | 27 |
//set_include_path(get_include_path() . PATH_SEPARATOR . WB_PATH); |
22 | 28 |
|
23 | 29 |
if (file_exists(WB_PATH.'/framework/class.database.php')) { |
Also available in: Unified diff
class.order completely recoded to reduce SQL requests
all other files: fix SQL-statements to SQL-strict