diff options
author | Josh <josh.t.richards@gmail.com> | 2024-08-29 08:46:41 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-29 08:46:41 -0400 |
commit | fef4295ef77f560b8cbdd1908a549d45cdbee239 (patch) | |
tree | a067e6d795b0cae68a7a633f093175998a4ea9b0 | |
parent | 02548bdeaec7a3c7b1074a1caeecebeb50285b16 (diff) | |
parent | 3e434bcebfdeacf18daf3f0a5757098c0ea45630 (diff) | |
download | nextcloud-server-fef4295ef77f560b8cbdd1908a549d45cdbee239.tar.gz nextcloud-server-fef4295ef77f560b8cbdd1908a549d45cdbee239.zip |
Merge pull request #47567 from nextcloud/jtr/fix-opcache-restricted-env
fix(config): Avoid error messages for restricted opcache API
-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'); |