aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-12-09 04:49:46 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-12-09 04:49:46 +0000
commite52835c5c1841202ef0ed17294227336a9176f1f (patch)
treea102660e8d7180fc99cdc1be1502334f218bfe1c
parent21027b49183891f801aa999c90e970a6df3e4a9e (diff)
downloadpfsense-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.
-rw-r--r--packages/tinydns/tinydns.xml2
-rw-r--r--packages/tinydns/tinydns_status.php2
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&amp;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";