From e41fba0f0802470ef72c6c865324af89ae9cc922 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Wed, 21 Sep 2011 09:52:08 -0400
Subject: [PATCH] Fixed a php notice in the installer.

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

diff --git a/install/lib/update.lib.php b/install/lib/update.lib.php
index b75a55f..3f969c3 100644
--- a/install/lib/update.lib.php
+++ b/install/lib/update.lib.php
@@ -126,7 +126,7 @@
 	
 	$conf['postfix']['vmail_mailbox_base'] = $ini_array['mail']['homedir_path'];
 	
-	if($ini_array['web']['server_type'] != ''){
+	if(isset($ini_array['web']['server_type']) && $ini_array['web']['server_type'] != ''){
 		$conf['webserver']['server_type'] = $ini_array['web']['server_type'];
 		if($conf['webserver']['server_type'] == 'nginx'){
 			$conf['apache']['installed'] = false;

--
Gitblit v1.9.1