From e0566d4ee84f3d99cdc343eb753419e85608526e Mon Sep 17 00:00:00 2001
From: xaver <xaver@ispconfig3>
Date: Wed, 21 Sep 2011 10:44:06 -0400
Subject: [PATCH] Error Msg list style:none

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

diff --git a/install/lib/update.lib.php b/install/lib/update.lib.php
index fc4a5e3..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;
@@ -270,6 +270,7 @@
 		$tpl_ini_array['web']['php_fpm_ini_path'] = $conf['nginx']['php_fpm_ini_path'];
 		$tpl_ini_array['web']['php_fpm_pool_dir'] = $conf['nginx']['php_fpm_pool_dir'];
 		$tpl_ini_array['web']['php_fpm_start_port'] = $conf['nginx']['php_fpm_start_port'];
+		$tpl_ini_array['web']['php_fpm_socket_dir'] = $conf['nginx']['php_fpm_socket_dir'];
 		$tpl_ini_array['web']['server_type'] = 'nginx';
 		$tpl_ini_array['global']['webserver'] = 'nginx';
 	}

--
Gitblit v1.9.1