mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-23 19:37:23 +08:00
backend change class to vip can set until time
This commit is contained in:
@@ -168,7 +168,7 @@ class Install
|
||||
|
||||
$disabledFunctions = [];
|
||||
foreach ($this->requiredFunctions as $fn) {
|
||||
if (str_starts_with($fn, "pcntl_")) {
|
||||
if (str_starts_with($fn, "pcntl_") && function_exists('exec')) {
|
||||
$phpPath = nexus_env('PHP_PATH') ?: 'php';
|
||||
$exists = executeCommand("$phpPath -r 'var_export(function_exists(\"$fn\"));'") == 'true';
|
||||
if (!$exists) {
|
||||
|
||||
Reference in New Issue
Block a user