From 3ea76bd927aa1b7a40cd1fcb92928e6ac3ed01ed Mon Sep 17 00:00:00 2001 From: LogicVortex123 Date: Wed, 4 Mar 2026 08:44:20 +0000 Subject: [PATCH] Hide deprecated and notice warnings from UI --- interface/globals.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/interface/globals.php b/interface/globals.php index 69311a56e..df471e687 100755 --- a/interface/globals.php +++ b/interface/globals.php @@ -53,6 +53,10 @@ // ini_set('session.gc_maxlifetime', '14400'); +// Hide deprecated and notice warnings from UI +error_reporting(E_ALL & ~E_DEPRECATED & ~E_NOTICE); +ini_set('display_errors', 'Off'); + // This is for sanitization of all escapes. // (ie. reversing magic quotes if it's set) if (isset($sanitize_all_escapes) && $sanitize_all_escapes) {