aboutsummaryrefslogtreecommitdiffstats
path: root/packages/tinydns
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-10-25 02:23:21 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-10-25 02:23:21 +0000
commitcf0587081200f355a940dc871c1cfcd0410303a6 (patch)
treef15f585e7dab17d1faf6ba35664f30b6c38956d6 /packages/tinydns
parentb949c66a3ec2696e883eb4f021f879555991283b (diff)
downloadpfsense-packages-cf0587081200f355a940dc871c1cfcd0410303a6.tar.gz
pfsense-packages-cf0587081200f355a940dc871c1cfcd0410303a6.tar.bz2
pfsense-packages-cf0587081200f355a940dc871c1cfcd0410303a6.zip
Redirect to the settings screen if the ip address is not defined
Diffstat (limited to 'packages/tinydns')
-rw-r--r--packages/tinydns/tinydns_status.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/tinydns/tinydns_status.php b/packages/tinydns/tinydns_status.php
index 8325ac03..0310a86d 100644
--- a/packages/tinydns/tinydns_status.php
+++ b/packages/tinydns/tinydns_status.php
@@ -35,6 +35,9 @@ require("guiconfig.inc");
if(!$config['installedpackages']['tinydns']['config'][0])
Header("Location: /wizard.php?xml=new_zone_wizard.xml");
+if(!$config['installedpackages']['tinydns']['config'][0]['ipaddress'])
+ Header("Location: /pkg_edit.php?xml=tinydns.xml&id=0");
+
$pgtitle = "TinyDNS: Status";
include("head.inc");