From ead16638497c43ca62e2a964daf20f6b78bc54a7 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Mon, 23 Dec 2019 15:42:40 +0000 Subject: [PATCH] pageindex: Unset stray global --- core/20-pageindex-loader.php | 1 + 1 file changed, 1 insertion(+) diff --git a/core/20-pageindex-loader.php b/core/20-pageindex-loader.php index 72a0af2..9596477 100644 --- a/core/20-pageindex-loader.php +++ b/core/20-pageindex-loader.php @@ -89,4 +89,5 @@ else $pageindex = json_decode(file_get_contents($paths->pageindex)); $env->perfdata->pageindex_decode_time = round((microtime(true) - $pageindex_read_start)*1000, 3); header("x-pageindex-decode-time: " . $env->perfdata->pageindex_decode_time . "ms"); + unset($pageindex_read_start); }