summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-04-15 11:03:05 +0200
committerGitHub <noreply@github.com>2020-04-15 11:03:05 +0200
commit19171d77e20827e4a587b86e143eb2926140edae (patch)
tree24d0cb999ce302260cc0242a7be5abceb753c644 /apps
parent301327135c2ac53182696f122f665d15e1df6e75 (diff)
parent8413a4ec92a748991d857248f92a84f2084d0529 (diff)
downloadnextcloud-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.php2
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');
}
/**