This commit is contained in:
John Alanbrook 2022-11-04 08:59:34 +00:00
parent 16b6d37932
commit 95cc44d8ff

View file

@ -143,6 +143,13 @@ if (empty($page['desc'])) $page['desc'] = $site['desc'];
include "base.php"; 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(); die();
} }
@ -155,12 +162,7 @@ function img_src($src, $root = "" ) {
return $write; return $write;
} }
$tt = microtime(true) - $_SERVER['REQUEST_TIME_FLOAT'];
echo <<<END
<script>
console.log("Generated page in " + $tt.toFixed(5) + " seconds.");
</script>
END;
?> ?>