Make ADD, SUB and GET compatible with the wildcard blocking list

This commit is contained in:
DL6ER
2016-12-31 15:36:47 +00:00
parent 295c71ad2c
commit 8080afadac
3 changed files with 51 additions and 11 deletions

View File

@@ -13,6 +13,9 @@ switch($type) {
case "black":
echo exec("sudo pihole -b -q ${_POST['domain']}");
break;
case "wild":
echo exec("sudo pihole -wild -q ${_POST['domain']}");
break;
}
?>