mirror of
https://github.com/pi-hole/web.git
synced 2026-04-25 11:19:59 +01:00
Reload only ONCE not after EACH imported file.
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -316,11 +316,11 @@ if(isset($_POST["action"]))
|
||||
echo "Processed domain_audit (".$num." entries)<br>\n";
|
||||
$importedsomething = true;
|
||||
}
|
||||
}
|
||||
|
||||
if($importedsomething)
|
||||
{
|
||||
exec("sudo pihole restartdns");
|
||||
}
|
||||
if($importedsomething)
|
||||
{
|
||||
exec("sudo pihole restartdns");
|
||||
}
|
||||
|
||||
unlink($fullfilename);
|
||||
|
||||
Reference in New Issue
Block a user