Project

General

Profile

« Previous | Next » 

Revision 1499

Added by DarkViper over 13 years ago

little fix in calling globalExceptionHandler from inner core files

View differences:

addon.precheck.inc.php
18 18

  
19 19
/* -------------------------------------------------------- */
20 20
// Must include code to stop this file being accessed directly
21
require_once('globalExceptionHandler.php');
22
if(!defined('WB_PATH')) { throw new IllegalFileException(); }
21
if(!defined('WB_PATH')) {
22
	require_once(dirname(__FILE__).'/globalExceptionHandler.php');
23
	throw new IllegalFileException();
24
}
23 25
/* -------------------------------------------------------- */
24 26
function getVersion($version, $strip_suffix = true)
25 27
{

Also available in: Unified diff