1   <?php
  2   $start = getmicrotime();
  3  
  4   define('FULL_PATH', realpath(dirname(__FILE__)));
  5   include_once(FULL_PATH.'/core/kernel/startup.php');
  6  
  7   $application =& kApplication::Instance();
  8   $application->Init();
  9   $application->Run();
  10   $application->Done();
  11  
  12   $end = getmicrotime();
  13  
  14   function getmicrotime()
  15   {
  16       list($usec, $sec) = explode(" ", microtime());
  17       return ((float)$usec + (float)$sec);
  18   }
  19   ?>