mirror of
https://github.com/pi-hole/web.git
synced 2026-04-24 18:59:48 +01:00
Call "sudo pihole restartdns reload" after having added or removed domains to notify FTL of the updated lists.
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -63,5 +63,13 @@ switch($list) {
|
||||
case "audit":
|
||||
echo add_to_table($db, "domain_audit", $domains);
|
||||
break;
|
||||
|
||||
default:
|
||||
echo "Invalid list!";
|
||||
exit();
|
||||
break;
|
||||
}
|
||||
|
||||
// Reload lists in pihole-FTL after having removed something
|
||||
echo shell_exec("sudo pihole restartdns reload");
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user