Skip to content

Commit

Permalink
fix(config): Avoid error messages for restricted opcache API
Browse files Browse the repository at this point in the history
Make changes recently added via #44230 match #8188 to avoid failures in restricted hosting environments.

Fixes #47562

Signed-off-by: Josh <josh.t.richards@gmail.com>
  • Loading branch information
joshtrichards authored Aug 28, 2024
1 parent b4d7498 commit 3e434bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,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');
Expand Down

0 comments on commit 3e434bc

Please sign in to comment.