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:

module.functions.php
33 33

  
34 34
/* -------------------------------------------------------- */
35 35
// Must include code to stop this file being accessed directly
36
require_once('globalExceptionHandler.php');
37
if(!defined('WB_PATH')) { throw new IllegalFileException(); }
36
if(!defined('WB_PATH')) {
37
	require_once(dirname(__FILE__).'/globalExceptionHandler.php');
38
	throw new IllegalFileException();
39
}
38 40
/* -------------------------------------------------------- */
39 41

  
40 42
/*

Also available in: Unified diff