From e25ead690cf3468655efcd4f623dd52b225c8710 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 f01b30d226a33..278c6816e70ea 100644 --- a/lib/private/Config.php +++ b/lib/private/Config.php @@ -215,7 +215,7 @@ private function readData() { // Invalidate opcache (only if the timestamp changed) if (function_exists('opcache_invalidate')) { - opcache_invalidate($file, false); + @opcache_invalidate($file, false); } $filePointer = @fopen($file, 'r');