mirror of
https://github.com/pi-hole/web.git
synced 2026-04-24 18:59:48 +01:00
"pihole --whiteregex" has been renamed to "pihole --white-regex". Similar for "--whitewild" -> "--white-wild".
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -48,13 +48,13 @@ switch($type) {
|
||||
echo shell_exec("sudo pihole --regex --web ".$domains);
|
||||
break;
|
||||
case "white_regex":
|
||||
echo shell_exec("sudo pihole --whiteregex --web ".$domains);
|
||||
echo shell_exec("sudo pihole --white-regex --web ".$domains);
|
||||
break;
|
||||
case "black_wild":
|
||||
echo shell_exec("sudo pihole --wild --web ".$domains);
|
||||
break;
|
||||
case "white_wild":
|
||||
echo shell_exec("sudo pihole --whitewild --web ".$domains);
|
||||
echo shell_exec("sudo pihole --white-wild --web ".$domains);
|
||||
break;
|
||||
case "audit":
|
||||
echo shell_exec("sudo pihole -a audit ".$domains);
|
||||
|
||||
Reference in New Issue
Block a user