From 9af072e4f5299f6de4b8f7faf63808d23219519d Mon Sep 17 00:00:00 2001 From: Jason Casden Date: Fri, 3 Feb 2023 12:38:49 -0500 Subject: [PATCH] Don't display PHP notices during server debugging --- service/web/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/web/index.php b/service/web/index.php index 817cb774f..4e4c720ed 100644 --- a/service/web/index.php +++ b/service/web/index.php @@ -23,7 +23,7 @@ // Debug Mode Setup if ($config['SUMA_DEBUG'] == true) { - $SUMA_ERROR_REPORTING = E_ERROR | E_WARNING | E_PARSE | E_NOTICE; + $SUMA_ERROR_REPORTING = E_ERROR | E_WARNING | E_PARSE; $SUMA_DISPLAY_ERRORS = 'on'; $SUMA_THROW_EXCEPTIONS = true; error_reporting($SUMA_ERROR_REPORTING);