From a8383563fa98c290d85e67f0560e20bb394a9e4b Mon Sep 17 00:00:00 2001 From: Martin Ambrus Date: Sat, 4 Nov 2017 10:19:12 +0100 Subject: [PATCH] fix: page load timer --- allianz.php | 2 +- crop_finder.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/allianz.php b/allianz.php index 9165a8aa..cdc144a8 100644 --- a/allianz.php +++ b/allianz.php @@ -357,7 +357,7 @@ include("Templates/links.tpl"); ?> pageLoadTimeEnd() - $start) * 1000); + echo round(($generator->pageLoadTimeEnd() - $start_timer) * 1000); ?> ms diff --git a/crop_finder.php b/crop_finder.php index 9852e54c..e86b896e 100644 --- a/crop_finder.php +++ b/crop_finder.php @@ -339,7 +339,7 @@ include("Templates/links.tpl");
Calculated in pageLoadTimeEnd() - $start) * 1000); +echo round(($generator->pageLoadTimeEnd() - $start_timer) * 1000); ?> ms