diff --git a/settings.php b/settings.php index 709a1a67..f1ca593f 100644 --- a/settings.php +++ b/settings.php @@ -10,11 +10,6 @@ require "scripts/pi-hole/php/savesettings.php"; // Reread ini file as things might have been changed $setupVars = parse_ini_file("/etc/pihole/setupVars.conf"); -function command_exist($cmd) -{ - return !empty(shell_exec(sprintf("which %s", escapeshellarg($cmd)))); -} - ?>