Expanable box + renamed

This commit is contained in:
DL6ER
2017-01-27 22:08:55 +01:00
parent 2f80018f51
commit cd5f5bb936
2 changed files with 6 additions and 5 deletions

View File

@@ -92,13 +92,13 @@ if($_POST["action"] == "in")
if(isset($_POST["whitelist"]))
{
$whitelist = process_zip("whitelist.txt");
echo exec("sudo pihole -w -q ".implode(" ", $whitelist));
exec("sudo pihole -w -q ".implode(" ", $whitelist));
}
if(isset($_POST["wildlist"]))
{
$wildlist = process_zip("wildcardblocking.txt");
echo exec("sudo pihole -wild -q ".implode(" ", $wildlist));
exec("sudo pihole -wild -q ".implode(" ", $wildlist));
}
echo "OK";