mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 14:50:17 -04:00
Fix detection if opcache extension is loaded
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
7c6c3d0d76
commit
882aab9d70
1 changed files with 1 additions and 1 deletions
|
|
@ -526,7 +526,7 @@ Raw output
|
|||
}
|
||||
|
||||
protected function hasOpcacheLoaded(): bool {
|
||||
return extension_loaded('opcache');
|
||||
return function_exists('opcache_get_status');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue