From 4629be74357d333b47e56955a51f05c9dd25cbe0 Mon Sep 17 00:00:00 2001 From: Damian Williamson Date: Fri, 3 Sep 2021 13:56:10 +1000 Subject: [PATCH 1/2] Start cointing PageGen in prepend.inc Signed-off-by: Damian Williamson --- include/prepend.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/prepend.inc b/include/prepend.inc index 04adab8302..ee5e7ef8cb 100644 --- a/include/prepend.inc +++ b/include/prepend.inc @@ -6,6 +6,9 @@ // See http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9 // for cache control header descriptions (used in many places on the site). +//PageGen +$tt = microtime(true); + // Provide default content-type, charset and language information // Manual pages will override this, and maybe others too header("Content-language: en"); From d349f695f3ce36fe008b130e0d1ec5bdaa79f388 Mon Sep 17 00:00:00 2001 From: Damian Williamson Date: Fri, 3 Sep 2021 21:47:09 +1000 Subject: [PATCH 2/2] Tested solution codiing PageGen in footer.inc Signed-off-by: Damian Williamson --- include/footer.inc | 5 +++++ include/prepend.inc | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/include/footer.inc b/include/footer.inc index 826795749d..048c95f65d 100644 --- a/include/footer.inc +++ b/include/footer.inc @@ -71,6 +71,11 @@
  • View Source
  • +
  • (PageGen Seconds)
  • diff --git a/include/prepend.inc b/include/prepend.inc index ee5e7ef8cb..04adab8302 100644 --- a/include/prepend.inc +++ b/include/prepend.inc @@ -6,9 +6,6 @@ // See http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9 // for cache control header descriptions (used in many places on the site). -//PageGen -$tt = microtime(true); - // Provide default content-type, charset and language information // Manual pages will override this, and maybe others too header("Content-language: en");