Index: trunk/kernel/startup.php =================================================================== diff -u -r2882 -r2919 --- trunk/kernel/startup.php (.../startup.php) (revision 2882) +++ trunk/kernel/startup.php (.../startup.php) (revision 2919) @@ -17,7 +17,7 @@ // KENEL4 INIT: BEGIN if($FrontEnd != 1 && !defined('ADMIN') ) define('ADMIN', 1); - 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