Merge pull request #19191 from laurisb/patch-1
Improve Opcache detection
This commit is contained in:
commit
19171d77e2
|
@ -521,7 +521,7 @@ Raw output
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function hasOpcacheLoaded(): bool {
|
protected function hasOpcacheLoaded(): bool {
|
||||||
return function_exists('opcache_get_status');
|
return extension_loaded('Zend OPcache');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue