From c8daa02524748d4240e0cae732f50e02c19d691f Mon Sep 17 00:00:00 2001 From: Josh Date: Wed, 28 Aug 2024 08:20:25 -0400 Subject: [PATCH] fix(config): Avoid error messages for restricted opcache API Make changes recently added via #44230 match #8188 to avoid failures in restricted hosting environments. Fixes #47562 Signed-off-by: Josh --- lib/private/Config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Config.php b/lib/private/Config.php index ee30b8efc5e..d37c5c38995 100644 --- a/lib/private/Config.php +++ b/lib/private/Config.php @@ -184,7 +184,7 @@ class Config { // Invalidate opcache (only if the timestamp changed) if (function_exists('opcache_invalidate')) { - opcache_invalidate($file, false); + @opcache_invalidate($file, false); } $filePointer = @fopen($file, 'r'); -- 2.39.5