Browse Source

Fix detection if opcache extension is loaded

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

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