diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-10-25 02:23:21 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-10-25 02:23:21 +0000 |
commit | cf0587081200f355a940dc871c1cfcd0410303a6 (patch) | |
tree | f15f585e7dab17d1faf6ba35664f30b6c38956d6 | |
parent | b949c66a3ec2696e883eb4f021f879555991283b (diff) | |
download | pfsense-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
-rw-r--r-- | packages/tinydns/tinydns_status.php | 3 |
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"); |