Index: branches/unlabeled/unlabeled-1.50.4/core/kernel/startup.php =================================================================== diff -u -r6708 -r7007 --- branches/unlabeled/unlabeled-1.50.4/core/kernel/startup.php (.../startup.php) (revision 6708) +++ branches/unlabeled/unlabeled-1.50.4/core/kernel/startup.php (.../startup.php) (revision 7007) @@ -78,7 +78,7 @@ if( file_exists(FULL_PATH.'/debug.php') ) { include_once(FULL_PATH.'/debug.php'); - if( constOn('DEBUG_MODE') ) { + if(isset($dbg_options['DEBUG_MODE']) && $dbg_options['DEBUG_MODE']) { $debugger_start = getmicrotime(); include_once(KERNEL_PATH.'/utility/debugger.php'); $debugger_end = getmicrotime();