mirror of
https://github.com/jimeh/zynapse.git
synced 2026-02-19 07:06:39 +00:00
27 lines
458 B
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";
|
|
|
|
?>
|