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:

frontend.functions.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
// compatibility mode for versions before 2.8.1
25 26
	$admin            = $wb;

Also available in: Unified diff