diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2020-04-15 11:03:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-15 11:03:05 +0200 |
commit | 19171d77e20827e4a587b86e143eb2926140edae (patch) | |
tree | 24d0cb999ce302260cc0242a7be5abceb753c644 /apps | |
parent | 301327135c2ac53182696f122f665d15e1df6e75 (diff) | |
parent | 8413a4ec92a748991d857248f92a84f2084d0529 (diff) | |
download | nextcloud-server-19171d77e20827e4a587b86e143eb2926140edae.tar.gz nextcloud-server-19171d77e20827e4a587b86e143eb2926140edae.zip |
Merge pull request #19191 from laurisb/patch-1
Improve Opcache detection
Diffstat (limited to 'apps')
-rw-r--r-- | apps/settings/lib/Controller/CheckSetupController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings/lib/Controller/CheckSetupController.php b/apps/settings/lib/Controller/CheckSetupController.php index 02886d16f4d..b48ec4a45bb 100644 --- a/apps/settings/lib/Controller/CheckSetupController.php +++ b/apps/settings/lib/Controller/CheckSetupController.php @@ -521,7 +521,7 @@ Raw output } protected function hasOpcacheLoaded(): bool { - return function_exists('opcache_get_status'); + return extension_loaded('Zend OPcache'); } /** |