aboutsummaryrefslogtreecommitdiffstats
path: root/packages/tinydns/tinydns_status.php
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 /packages/tinydns/tinydns_status.php
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.
Diffstat (limited to 'packages/tinydns/tinydns_status.php')
-rw-r--r--packages/tinydns/tinydns_status.php2
1 files changed, 1 insertions, 1 deletions
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";