From 91624b8a2d8bad8a729e1f5da852829d664d27ab Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Fri, 10 Sep 2010 07:58:47 -0400
Subject: [PATCH] Added the configuration variable $conf['demo_mode'] in the config.inc.php file. It disables the newly introduced demo mode which limits certain actions in the interface part of ispconfig: the demo mode can be used to run the ispconfig interface part as online demo.
---
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