diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-12-09 04:49:46 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-12-09 04:49:46 +0000 |
commit | e52835c5c1841202ef0ed17294227336a9176f1f (patch) | |
tree | a102660e8d7180fc99cdc1be1502334f218bfe1c /packages | |
parent | 21027b49183891f801aa999c90e970a6df3e4a9e (diff) | |
download | pfsense-packages-e52835c5c1841202ef0ed17294227336a9176f1f.tar.gz pfsense-packages-e52835c5c1841202ef0ed17294227336a9176f1f.tar.bz2 pfsense-packages-e52835c5c1841202ef0ed17294227336a9176f1f.zip |
Default to tinydns_status.php. Redirect to settings page when not configured.
Diffstat (limited to 'packages')
-rw-r--r-- | packages/tinydns/tinydns.xml | 2 | ||||
-rw-r--r-- | packages/tinydns/tinydns_status.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/tinydns/tinydns.xml b/packages/tinydns/tinydns.xml index d661b529..9028a7c1 100644 --- a/packages/tinydns/tinydns.xml +++ b/packages/tinydns/tinydns.xml @@ -8,7 +8,7 @@ <name>DNS Server</name> <tooltiptext></tooltiptext> <section>Services</section> - <url>/pkg_edit.php?xml=tinydns.xml&id=0</url> + <url>/tinydns_status.php</url> </menu> <tabs> <tab> diff --git a/packages/tinydns/tinydns_status.php b/packages/tinydns/tinydns_status.php index 0093c8aa..7bc5a441 100644 --- a/packages/tinydns/tinydns_status.php +++ b/packages/tinydns/tinydns_status.php @@ -32,7 +32,7 @@ require("guiconfig.inc"); /* Defaults to this page but if no settings are present, redirect to setup page */ -if(!$config['installedpackages']['miniupnpd']['config'][0]['iface_array']) +if(!$config['installedpackages']['tinydns']['config'][0]) Header("Location: /pkg_edit.php?xml=tinydns.xml&id=0"); $pgtitle = "TinyDNS: Status"; |