+ if (file_exists(FULL_PATH.'/kernel/kernel4/application.php')) {
+ die('Please remove '.FULL_PATH.'/kernel/kernel4 directiry - it has been moved to '.KERNEL_PATH.'<br/>Don\'t forget to clean Cache table afterwards');
+ }
+
+ if (!function_exists('getmicrotime')) {
+ function getmicrotime()
+ {
+ list($usec, $sec) = explode(" ", microtime());
+ return ((float)$usec + (float)$sec);
+ }
+ }
+ $globals_start = getmicrotime();
+ include_once(KERNEL_PATH.'/globals.php'); // non OOP functions used through kernel, e.g. print_pre