Index: trunk/index.php =================================================================== diff -u -N -r6428 -r6647 --- trunk/index.php (.../index.php) (revision 6428) +++ trunk/index.php (.../index.php) (revision 6647) @@ -3,9 +3,12 @@ $start = getmicrotime(); define('FULL_PATH', realpath(dirname(__FILE__))); -define('APPLICATION_CLASS', 'MyApplication'); -include_once(FULL_PATH.'/kernel/kernel4/startup.php'); +if (!file_exists(FULL_PATH.'/core/kernel/application.php')) { + die('Please re-checkout _inportal_kernel4 cvs module into the root directory ('.FULL_PATH.') and remove kernel/kernel4 folder'); +} +include_once(FULL_PATH.'/core/kernel/startup.php'); + $application =& kApplication::Instance(); $application->Init(); $application->Run();