Index: trunk/kernel/startup.php =================================================================== diff -u -r3522 -r3830 --- trunk/kernel/startup.php (.../startup.php) (revision 3522) +++ trunk/kernel/startup.php (.../startup.php) (revision 3830) @@ -15,13 +15,19 @@ # New path detection method: end // KENEL4 INIT: BEGIN - if($FrontEnd != 1 && !defined('ADMIN') ) define('ADMIN', 1); + if ($FrontEnd != 1 && !defined('ADMIN') ) { + define('ADMIN', 1); + } - if( !defined('APPLICATION_CLASS') ) define('APPLICATION_CLASS', 'MyApplication'); + if ( !defined('APPLICATION_CLASS') ) { + define('APPLICATION_CLASS', 'MyApplication'); + } include_once(FULL_PATH.'/kernel/kernel4/startup.php'); // just to make sure that this is correctly detected - if( IsDebugMode() ) $debugger->appendHTML('FULL_PATH: '.FULL_PATH.''); + if ( IsDebugMode() ) { + $debugger->printConstants('FULL_PATH,SQL_DB'); + } $application =& kApplication::Instance(); $application->Init();