Remove Dig and Whois binary requirements, revert fetchUpdates function

This commit is contained in:
johnnyq
2026-07-05 16:05:19 -04:00
parent d1e1609b8a
commit 78c3dd0eed
3 changed files with 17 additions and 31 deletions

View File

@@ -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,