inform cronjob to regenerate bind-configs on changes

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2016-05-12 10:18:45 +02:00
parent cec5f33870
commit 689a1fdbd2

View File

@@ -223,6 +223,9 @@ if ($action == 'add_record' && ! empty($_POST)) {
$prio = "";
$content = "";
$ttl = "";
// re-generate bind configs
inserttask('4');
} else {
// show $errors
$errors = implode("<br>", $errors);
@@ -247,6 +250,9 @@ if ($action == 'add_record' && ! empty($_POST)) {
unset($_t);
// success message (inline)
$success_message = $lng['success']['dns_record_deleted'];
// re-generate bind configs
inserttask('4');
}
}