3 ini_set('display_errors', true);
5 if (!empty($_GET['timer'])) {
6 function _getMicrotime() {
7 return array_sum(explode(' ', microtime()));
9 $_timer = _getMicrotime();
14 require_once('./kernel.php');
15 Kernel
::getInstance()->boot();
16 Zend_Controller_Front
::getInstance()->dispatch();
18 } catch (Exception
$e) {
19 Kernel
::getInstance()->displayError($e);
22 if (!empty($_GET['timer'])) {
23 echo '<br /><br /><hr />';
24 echo '<pre>>>> Page took ' . (_getMicrotime() - $_timer) . 's to load</pre>';