aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorJosh <josh.t.richards@gmail.com>2024-08-28 08:20:25 -0400
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-08-30 07:55:00 +0000
commit1abebffa1b11451afcf04f5361f3cd0b50cd04aa (patch)
tree70003c0136a0b919729c18f06a0ae36267201d5f /lib/private
parent69c00aea3d9feb46f77abfcc8a3f48535e00b12c (diff)
downloadnextcloud-server-1abebffa1b11451afcf04f5361f3cd0b50cd04aa.tar.gz
nextcloud-server-1abebffa1b11451afcf04f5361f3cd0b50cd04aa.zip
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 <josh.t.richards@gmail.com>
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/Config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Config.php b/lib/private/Config.php
index f01b30d226a..278c6816e70 100644
--- a/lib/private/Config.php
+++ b/lib/private/Config.php
@@ -215,7 +215,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');