aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Config.php
diff options
context:
space:
mode:
authorJosh <josh.t.richards@gmail.com>2024-08-28 08:20:25 -0400
committerGitHub <noreply@github.com>2024-08-28 08:20:25 -0400
commit3e434bcebfdeacf18daf3f0a5757098c0ea45630 (patch)
tree603f48a07fdf9801d02c2c076b164ef6cf8cf9f8 /lib/private/Config.php
parentb4d7498cfb1b3211ee1b6cf2dcda44eef977ac1a (diff)
downloadnextcloud-server-3e434bcebfdeacf18daf3f0a5757098c0ea45630.tar.gz
nextcloud-server-3e434bcebfdeacf18daf3f0a5757098c0ea45630.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/Config.php')
-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 6a970eafd7e..6823ab7027f 100644
--- a/lib/private/Config.php
+++ b/lib/private/Config.php
@@ -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');