backend change class to vip can set until time

This commit is contained in:
xiaomlove
2023-06-16 01:26:27 +08:00
parent ae77dfa0f6
commit 8dfc125a37
12 changed files with 90 additions and 12 deletions
+1 -1
View File
@@ -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) {