From 5619c7dd99b674af0922e29ccfd00d58a08979c5 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Thu, 15 Jul 2010 08:36:47 -0400
Subject: [PATCH] Fixed: FS#1229 - ISPConfig3 creates the desired e-mail domain twice (on master server AND on the selected Slave) 

---
 install/tpl/config.inc.php.master |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/install/tpl/config.inc.php.master b/install/tpl/config.inc.php.master
index 63d95fb..68fd74f 100644
--- a/install/tpl/config.inc.php.master
+++ b/install/tpl/config.inc.php.master
@@ -113,7 +113,7 @@
 
 
 //** Interface
-define('ISPC_INTERFACE_MODULES_ENABLED', 'dashboard,mail,sites,dns,tools');
+$conf['interface_modules_enabled'] = 'dashboard,mail,sites,dns,tools';
 
 
 //** Logging
@@ -154,6 +154,5 @@
 //** IMPORTANT!!!
 //** DO NOT MAKE A COPY OF THIS FILE AS LOCAL CONFIG-FILE
 //** USE A EMPTY FILE AND ONLY COPY THE SETTINGS IN IT, YOU NEED TO OVERRIDE
-if (is_file('config.inc.local.php')) include_once 'config.inc.local.php';
-
+if (is_file(dirname(__FILE__) . '/config.inc.local.php')) include_once 'config.inc.local.php';
 ?>

--
Gitblit v1.9.1