Project

General

Profile

« Previous | Next » 

Revision 1488

Added by DarkViper over 13 years ago

global exception handler activated

View differences:

initialize.php
16 16
 *
17 17
 */
18 18

  
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

  
19
/* -------------------------------------------------------- */
20
// Must include code to stop this file being accessed directly
23 21
require_once('globalExceptionHandler.php');
24 22
if(!defined('WB_PATH')) { throw new IllegalFileException(); }
25
//if(defined('WB_PATH') == false) { die("Cannot access this file directly"); }
26

  
23
/* -------------------------------------------------------- */
27 24
//set_include_path(get_include_path() . PATH_SEPARATOR . WB_PATH);
28 25

  
29 26
if (file_exists(WB_PATH.'/framework/class.database.php')) {

Also available in: Unified diff