Skip to content

Commit 3e434bc

Browse files
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 <[email protected]>
1 parent b4d7498 commit 3e434bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ private function readData() {
184184

185185
// Invalidate opcache (only if the timestamp changed)
186186
if (function_exists('opcache_invalidate')) {
187-
opcache_invalidate($file, false);
187+
@opcache_invalidate($file, false);
188188
}
189189

190190
$filePointer = @fopen($file, 'r');

0 commit comments

Comments
 (0)