fix check ext pcntl

This commit is contained in:
xiaomlove
2022-04-14 01:55:19 +08:00
parent 9759c09320
commit c88ebcdfa9

View File

@@ -147,7 +147,7 @@ class Install
$tableRows[] = [
'label' => 'PHP extension pcntl',
'required' => 'true',
'current' => (int)extension_loaded($extension),
'current' => (int)extension_loaded('pcntl'),
'result' => "If 'current' showing 0, make sure it's on php -m",
];