Index: trunk/core/kernel/startup.php =================================================================== diff -u -N -r7375 -r7391 --- trunk/core/kernel/startup.php (.../startup.php) (revision 7375) +++ trunk/core/kernel/startup.php (.../startup.php) (revision 7391) @@ -42,7 +42,8 @@ global $rootURL; echo 'In-Portal is probably not installed, or configuration file is missing.
'; echo 'Please use the installation script to fix the problem.

'; - echo 'Go to installation script

'; + $install_script = file_exists(FULL_PATH.'/proj-base/install.php') ? 'core' : 'admin'; + echo 'Go to installation script

'; flush(); exit; } @@ -79,7 +80,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();