From 689a1fdbd2c0af00258ab13eaddd3997f3965c97 Mon Sep 17 00:00:00 2001 From: "Michael Kaufmann (d00p)" Date: Thu, 12 May 2016 10:18:45 +0200 Subject: [PATCH] inform cronjob to regenerate bind-configs on changes Signed-off-by: Michael Kaufmann (d00p) --- dns_editor.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dns_editor.php b/dns_editor.php index 06a68861..0a5747b5 100644 --- a/dns_editor.php +++ b/dns_editor.php @@ -223,6 +223,9 @@ if ($action == 'add_record' && ! empty($_POST)) { $prio = ""; $content = ""; $ttl = ""; + + // re-generate bind configs + inserttask('4'); } else { // show $errors $errors = implode("
", $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'); } }