tbrehm
2011-07-25 ed30c60150ffda0301eb1f8d30c93cac94de41df
Fixed some warnings in the installer.
2 files modified
5 ■■■■■ changed files
install/lib/installer_base.lib.php 1 ●●●● patch | view | raw | blame | history
install/lib/update.lib.php 4 ●●●● patch | view | raw | blame | history
install/lib/installer_base.lib.php
@@ -554,6 +554,7 @@
            $virtual_domains = "' '";
            
        $content = str_replace('{hostname}', $conf['hostname'], $content);
        if(!isset($old_options['DEFAULT_SERVER_LANGUAGE'])) $old_options['DEFAULT_SERVER_LANGUAGE'] = ''
        $content = str_replace('{default_language}', $old_options['DEFAULT_SERVER_LANGUAGE'], $content);
        $content = str_replace('{virtual_domains}', $virtual_domains, $content);
install/lib/update.lib.php
@@ -95,8 +95,8 @@
    $conf['services']['file'] = ($tmp['file_server'] == 1)?true:false;
    $conf['services']['db'] = ($tmp['db_server'] == 1)?true:false;
    $conf['services']['vserver'] = ($tmp['vserver_server'] == 1)?true:false;
    $conf['services']['proxy'] = ($tmp['proxy_server'] == 1)?true:false;
    $conf['services']['firewall'] = ($tmp['firewall_server'] == 1)?true:false;
    $conf['services']['proxy'] = (isset($tmp['proxy_server']) && $tmp['proxy_server'] == 1)?true:false;
    $conf['services']['firewall'] = (isset($tmp['firewall_server']) && $tmp['firewall_server'] == 1)?true:false;
    
    $conf['postfix']['vmail_mailbox_base'] = $ini_array['mail']['homedir_path'];