diff options
author | Josh <josh.t.richards@gmail.com> | 2024-08-28 08:20:25 -0400 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2024-08-30 07:53:04 +0000 |
commit | c8daa02524748d4240e0cae732f50e02c19d691f (patch) | |
tree | 09824767866e3be3d4a9c5fcad8ffcf25d7b3581 /lib/private | |
parent | 88b04ba867265571431e74f07b9b82e5b1d2d10f (diff) | |
download | nextcloud-server-c8daa02524748d4240e0cae732f50e02c19d691f.tar.gz nextcloud-server-c8daa02524748d4240e0cae732f50e02c19d691f.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.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Config.php b/lib/private/Config.php index ee30b8efc5e..d37c5c38995 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'); |