From e52835c5c1841202ef0ed17294227336a9176f1f Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 9 Dec 2006 04:49:46 +0000 Subject: Default to tinydns_status.php. Redirect to settings page when not configured. --- packages/tinydns/tinydns.xml | 2 +- packages/tinydns/tinydns_status.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/tinydns') 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 @@ DNS Server
Services
- /pkg_edit.php?xml=tinydns.xml&id=0 + /tinydns_status.php 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"; -- cgit v1.2.3