xaver
2011-09-21 e0566d4ee84f3d99cdc343eb753419e85608526e
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';
   }