Reload only ONCE not after EACH imported file.

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2019-07-24 22:14:48 +02:00
parent 72057cfa26
commit 3cfb226757

View File

@@ -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);