Files
zynapse/public/dispatch.php

27 lines
458 B
PHP

<?php
/*
Dispatch Zynapse
- the first step
*/
# path to config directory
$config_path = dirname(dirname(__FILE__))."/config";
$start = microtime(true);
// initial boot and environment setup
require_once($config_path."/init/boot.php");
// initialize zynapse
Zynapse::init();
$time = number_format(microtime(true) - $start, 6);
echo "<br />\n<br />\nboot time: ".$time." seconds<br />\n";
echo "reqs/second: ".round(1 / $time)."<br />\n";
?>