Merge pull request #47567 from nextcloud/jtr/fix-opcache-restricted-env

fix(config): Avoid error messages for restricted opcache API
This commit is contained in:
Josh 2024-08-29 08:46:41 -04:00 committed by GitHub
commit fef4295ef7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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');