aboutsummaryrefslogtreecommitdiffstats
path: root/config/tinydns
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-09-29 11:26:39 -0400
committerjim-p <jimp@pfsense.org>2010-09-29 11:26:39 -0400
commitb398afcabf96598c656c2a58879be9787a7eb1d8 (patch)
tree19bc7ab6e05ba2a16a75aa00196cd2890bdcc6aa /config/tinydns
parent1deb9ee932600d80fc887e5787114f14d6ab241f (diff)
downloadpfsense-packages-b398afcabf96598c656c2a58879be9787a7eb1d8.tar.gz
pfsense-packages-b398afcabf96598c656c2a58879be9787a7eb1d8.tar.bz2
pfsense-packages-b398afcabf96598c656c2a58879be9787a7eb1d8.zip
Move the redirect so it happens later. Fixes the blank screen at the end of the DNS zone wizard.
Diffstat (limited to 'config/tinydns')
-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>