aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/tinydns/new_zone_wizard.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/config/tinydns/new_zone_wizard.xml b/config/tinydns/new_zone_wizard.xml
index 1fb95fa3..d5263581 100644
--- a/config/tinydns/new_zone_wizard.xml
+++ b/config/tinydns/new_zone_wizard.xml
@@ -234,14 +234,17 @@
tinydns_sync_on_changes();
}
+ ]]>
+ </stepsubmitbeforesave>
+ <stepsubmitphpaction>
+ <![CDATA[
// If service is running redirect to domains page.
// Otherwise redirect to the tinydns settings page.
if(is_dir("/service/tinydns"))
Header("Location: /pkg.php?xml=tinydns_domains.xml");
else
Header("Location: /pkg_edit.php?xml=tinydns.xml&id=0");
-
]]>
- </stepsubmitbeforesave>
+ </stepsubmitphpaction>
</step>
</pfsensewizard>