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
+1 -1
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');