From c88ebcdfa9ab3fea43f8cb844ab205f44b5e4129 Mon Sep 17 00:00:00 2001 From: xiaomlove Date: Thu, 14 Apr 2022 01:55:19 +0800 Subject: [PATCH] fix check ext pcntl --- nexus/Install/Install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nexus/Install/Install.php b/nexus/Install/Install.php index 3083dc26..aad41cd2 100644 --- a/nexus/Install/Install.php +++ b/nexus/Install/Install.php @@ -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", ];