aboutsummaryrefslogtreecommitdiffstats
path: root/packages/tinydns
diff options
context:
space:
mode:
Diffstat (limited to 'packages/tinydns')
-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";