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 <[email protected]>
  • Loading branch information
joshtrichards authored and backportbot[bot] committed Aug 30, 2024
1 parent b678e13 commit e25ead6
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 @@ -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');
Expand Down

0 comments on commit e25ead6

Please sign in to comment.