diff options
author | Josh <josh.t.richards@gmail.com> | 2024-08-28 08:20:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-28 08:20:25 -0400 |
commit | 3e434bcebfdeacf18daf3f0a5757098c0ea45630 (patch) | |
tree | 603f48a07fdf9801d02c2c076b164ef6cf8cf9f8 /lib/private/Config.php | |
parent | b4d7498cfb1b3211ee1b6cf2dcda44eef977ac1a (diff) | |
download | nextcloud-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.php | 2 |
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'); |