From 9cdfe81dbbfd884fc659c1a019abedc5e6120629 Mon Sep 17 00:00:00 2001 From: Spuds Date: Thu, 7 Jul 2022 09:40:03 -0500 Subject: [PATCH] ! feel the depreciation pain if you have db_show_debug enabled --- bootstrap.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bootstrap.php b/bootstrap.php index c8efe75e05..d383ce1b40 100644 --- a/bootstrap.php +++ b/bootstrap.php @@ -284,12 +284,13 @@ private function checkMaintance() */ private function setDebug() { - global $db_show_debug; + global $db_show_debug, $ssi_error_reporting; // Show lots of debug information below the page, not for production sites if ($db_show_debug === true) { Debug::instance()->rusage('start', $this->rusage_start); + $ssi_error_reporting = error_reporting(E_ALL | E_STRICT & ~8192); } }