From c5e09542929cfd571e5c9404a1dd822ebd3e2299 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Mon, 18 Jan 2010 13:48:44 +0000
Subject: [PATCH] Temporarily disabled the automatic activation of the bind-dlz
 plugin until a routine is integrated in the installer to detect if bind has
 dlz compiled in or the normal file based plugin has to be used.

---
 server/plugins-available/bind_dlz_plugin.inc.php | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/server/plugins-available/bind_dlz_plugin.inc.php b/server/plugins-available/bind_dlz_plugin.inc.php
index e1af9553b4..64092705c7 100644
--- a/server/plugins-available/bind_dlz_plugin.inc.php
+++ b/server/plugins-available/bind_dlz_plugin.inc.php
@@ -77,7 +77,12 @@ class bind_dlz_plugin {
 		global $conf;
 		
 		if(isset($conf['bind']['installed']) && $conf['bind']['installed'] == true) {
-			return true;
+			// Temporary disabled until the installer supports the automatic creatin of the nescessary 
+			// 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;
 		}
-- 
GitLab