From 81d79a79e4b29e9314b64b2e4c49b48ae8319767 Mon Sep 17 00:00:00 2001
From: ftimme <ft@falkotimme.com>
Date: Tue, 11 Oct 2011 08:50:45 -0400
Subject: [PATCH] - WebDAV Users: show only domains that run on Apache (because nginx does not have full WebDAV support).

---
 server/plugins-available/bind_dlz_plugin.inc.php |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/server/plugins-available/bind_dlz_plugin.inc.php b/server/plugins-available/bind_dlz_plugin.inc.php
index e1af955..b0ca870 100644
--- a/server/plugins-available/bind_dlz_plugin.inc.php
+++ b/server/plugins-available/bind_dlz_plugin.inc.php
@@ -77,7 +77,12 @@
 		global $conf;
 		
 		if(isset($conf['bind']['installed']) && $conf['bind']['installed'] == true) {
-			return true;
+			// Temporarily disabled until the installer supports the automatic creation of the necessary 
+			// database or at least to select between filebased nd db based bind, as not all bind versions 
+			// support dlz out of the box. To enable this plugin manually, create a symlink from the plugins-enabled
+			// directory to this file in the plugins-available directory.
+			return false;
+			//return true;
 		} else {
 			return false;
 		}
@@ -344,4 +349,4 @@
 		unset($_db);
 	}
 } // end class
-?>
\ No newline at end of file
+?>

--
Gitblit v1.9.1