.
This commit is contained in:
parent
16b6d37932
commit
95cc44d8ff
14
router.php
14
router.php
|
@ -143,6 +143,13 @@ if (empty($page['desc'])) $page['desc'] = $site['desc'];
|
|||
|
||||
include "base.php";
|
||||
|
||||
$tt = microtime(true) - $_SERVER['REQUEST_TIME_FLOAT'];
|
||||
echo <<<END
|
||||
<script>
|
||||
console.log("Generated page in " + $tt.toFixed(5) + " seconds.");
|
||||
</script>
|
||||
END;
|
||||
|
||||
die();
|
||||
}
|
||||
|
||||
|
@ -155,12 +162,7 @@ function img_src($src, $root = "" ) {
|
|||
return $write;
|
||||
}
|
||||
|
||||
$tt = microtime(true) - $_SERVER['REQUEST_TIME_FLOAT'];
|
||||
echo <<<END
|
||||
<script>
|
||||
console.log("Generated page in " + $tt.toFixed(5) + " seconds.");
|
||||
</script>
|
||||
END;
|
||||
|
||||
|
||||
?>
|
||||
|
||||
|
|
Loading…
Reference in a new issue