Skip to content

Commit cd9ea2b

Browse files
committed
Fix #51: changing extension_loaded to function_exists
1 parent 214a441 commit cd9ea2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/judged.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
// create daemon
9191
verbose(cli_heading('Creating daemon', true));
9292

93-
if (!extension_loaded('pcntl') || !extension_loaded('posix')) {
93+
if (!function_exists('pcntl') || !function_exists('posix')) {
9494
cli_error('PHP pcntl and posix extension must be installed!');
9595
}
9696

0 commit comments

Comments
 (0)