diff options
Diffstat (limited to 'packages/tinydns/tinydns_status.php')
-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"); |