Fix detection if opcache extension is loaded

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
pull/10197/head
Morris Jobke 8 years ago
parent 7c6c3d0d76
commit 882aab9d70
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68
  1. 2
      settings/Controller/CheckSetupController.php

@ -526,7 +526,7 @@ Raw output
}
protected function hasOpcacheLoaded(): bool {
return extension_loaded('opcache');
return function_exists('opcache_get_status');
}
/**

Loading…
Cancel
Save