Index: branches/5.2.x/index.php =================================================================== diff -u -N -r14092 -r14102 --- branches/5.2.x/index.php (.../index.php) (revision 14092) +++ branches/5.2.x/index.php (.../index.php) (revision 14102) @@ -1,6 +1,6 @@ -Init(); - $application->Run(); - $application->Done(); - - $end = getmicrotime(); - - function getmicrotime() - { - list($usec, $sec) = explode(" ", microtime()); - return ((float)$usec + (float)$sec); - } \ No newline at end of file + +$start = microtime(true); + +define('FULL_PATH', realpath(dirname(__FILE__))); +include_once(FULL_PATH.'/core/kernel/startup.php'); + +$application =& kApplication::Instance(); +$application->Init(); +$application->Run(); +$application->Done(); + +$end = microtime(true); \ No newline at end of file