From cc434c64d1ba5dad95430ec0b513853f7711c835 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Fri, 09 Aug 2013 06:00:38 -0400
Subject: [PATCH] Changed default for "Install ISPConfig Web Interface" to 'n' for multiserver slave installs in extended install mode.

---
 install/install.php |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/install/install.php b/install/install.php
index a3b5708..340972c 100644
--- a/install/install.php
+++ b/install/install.php
@@ -565,7 +565,8 @@
 	}*/
 	
 	//** Configure ISPConfig :-)
-	if(strtolower($inst->simple_query('Install ISPConfig Web Interface',array('y','n'),'y')) == 'y') {
+	$install_ispconfig_interface_default = ($conf['mysql']['master_slave_setup'] == 'y')?'n':'y';
+	if(strtolower($inst->simple_query('Install ISPConfig Web Interface',array('y','n'),$install_ispconfig_interface_default)) == 'y') {
 		swriteln('Installing ISPConfig');
 		
 		//** We want to check if the server is a module or cgi based php enabled server

--
Gitblit v1.9.1