Project

General

Profile

« Previous | Next » 

Revision 1499

Added by DarkViper about 13 years ago

little fix in calling globalExceptionHandler from inner core files

View differences:

class.wb.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
// Include PHPLIB template class
25 26
require_once(WB_PATH."/include/phplib/template.inc");

Also available in: Unified diff