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.admin.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
require_once(WB_PATH.'/framework/class.wb.php');
25 26

  

Also available in: Unified diff