aboutsummaryrefslogtreecommitdiffstats
path: root/lib
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:55 +0000
commite25ead690cf3468655efcd4f623dd52b225c8710 (patch)
treea48026b676c1a1af721913a5ad642c07c46f3507 /lib
parentb678e139be87d8b0780fdd268663ab6d0d0e4009 (diff)
downloadnextcloud-server-e25ead690cf3468655efcd4f623dd52b225c8710.tar.gz
nextcloud-server-e25ead690cf3468655efcd4f623dd52b225c8710.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')
-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');