diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-07-11 16:05:31 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-07-11 16:08:41 +0200 |
commit | 882aab9d70b877ec69dbc59c5fbbc6eb01266f5b (patch) | |
tree | 7d42cd7e2acb116e1c3f411bbbea34be17ce0694 /settings/Controller | |
parent | 7c6c3d0d761f8634d5fa9637d022451b5f17f7bd (diff) | |
download | nextcloud-server-882aab9d70b877ec69dbc59c5fbbc6eb01266f5b.tar.gz nextcloud-server-882aab9d70b877ec69dbc59c5fbbc6eb01266f5b.zip |
Fix detection if opcache extension is loaded
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'settings/Controller')
-rw-r--r-- | settings/Controller/CheckSetupController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/Controller/CheckSetupController.php b/settings/Controller/CheckSetupController.php index b377e36944d..c706d6e7350 100644 --- a/settings/Controller/CheckSetupController.php +++ b/settings/Controller/CheckSetupController.php @@ -526,7 +526,7 @@ Raw output } protected function hasOpcacheLoaded(): bool { - return extension_loaded('opcache'); + return function_exists('opcache_get_status'); } /** |