From fd3748cfecf4c8b159fe97145ab1fe7f0e8d7078 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 25 Oct 2008 06:08:59 +0000 Subject: Check for existing zones correctly --- packages/tinydns/tinydns_status.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/tinydns/tinydns_status.php b/packages/tinydns/tinydns_status.php index 41b33f8b..8c55e7d1 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']['tinydns']['config'][0]) +if(!$config['installedpackages']['tinydnsdomains']['config']) Header("Location: /wizard.php?xml=new_zone_wizard.xml"); if(!$config['installedpackages']['tinydns']['config'][0]['ipaddress']) -- cgit v1.2.3