Skip to content

Commit eb58236

Browse files
committed
revert cd9ea2b, closes #91
#cd9ea2b6: "Fix #51: changing `extension_loaded` to `function_exists`"
1 parent c11b3b6 commit eb58236

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/judged.php

+1-1
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 (!function_exists('pcntl') || !function_exists('posix')) {
93+
if (!extension_loaded('pcntl') || !extension_loaded('posix')) {
9494
cli_error('PHP pcntl and posix extension must be installed!');
9595
}
9696

0 commit comments

Comments
 (0)