mirror of
https://github.com/itflow-org/itflow
synced 2026-07-23 08:50:42 +00:00
Remove Dig and Whois binary requirements, revert fetchUpdates function
This commit is contained in:
@@ -147,7 +147,7 @@ $phpConfig[] = [
|
||||
$shellCommands = [];
|
||||
|
||||
if ($shell_exec_enabled) {
|
||||
$commands = ['whois', 'dig', 'git'];
|
||||
$commands = ['git'];
|
||||
|
||||
foreach ($commands as $command) {
|
||||
$which = trim(shell_exec("which $command 2>/dev/null"));
|
||||
@@ -160,7 +160,7 @@ if ($shell_exec_enabled) {
|
||||
}
|
||||
} else {
|
||||
// If shell_exec is disabled, mark commands as unavailable
|
||||
foreach (['whois', 'dig', 'git'] as $command) {
|
||||
foreach (['git'] as $command) {
|
||||
$shellCommands[] = [
|
||||
'name' => "Command '$command' available",
|
||||
'passed' => false,
|
||||
|
||||
Reference in New Issue
Block a user