mirror of
https://github.com/pi-hole/web.git
synced 2026-04-25 03:10:18 +01:00
Make ADD, SUB and GET compatible with the wildcard blocking list
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user