Ticket #2019: setupFix_Mbstring.patch

File setupFix_Mbstring.patch, 3.3 KB (added by joaquim.ferraz, 13 years ago)
  • setup/

    old new  
    6262                                lang('*** You have to do the changes manualy in your php.ini (usualy in /etc on linux) in order to get eGW fully working !!!')."\n". 
    6363                                lang('*** Do NOT update your database via setup, as the update might be interrupted by the max_execution_time, which leaves your DB in an unrecoverable state (your data is lost) !!!') 
    6464                ), 
    65 /* not longer needed, as it gets set now on runtime (works even with safe_mode) 
    66                 'error_reporting' => array( 
    67                         'func' => 'php_ini_check', 
    68                         'value' => E_NOTICE, 
    69                         'verbose_value' => 'E_NOTICE', 
    70                         'check' => 'not set', 
    71                         'safe_mode' => 'error_reporting = E_ALL & ~E_NOTICE' 
    72                 ), 
    73 */ 
    7465                'magic_quotes_runtime' => array( 
    7566                        'func' => 'php_ini_check', 
    7667                        'value' => 0, 
     
    10495                        'error' => lang('include_path need to contain "." - the current directory'), 
    10596                        'save_mode' => 'max_execution_time = 30' 
    10697                ), 
    107 #               'mysql' => array( 
    108 #                       'func' => 'extension_check', 
    109 #                       'warning' => "<div id='setup_info'>" . lang('The %1 extension is needed, if you plan to use a %2 database.','mysql','MySQL').'</div>' 
    110 #               ), 
    11198                'ldap' => array( 
    11299                        'func' => 'extension_check', 
    113100                        'warning' => "<div id='setup_info'>" . lang('The %1 extension is needed, if you plan to use a %2 database.','ldap','LDAP').'</div>' 
     
    127114                ), 
    128115                'mbstring.func_overload' => array( 
    129116                        'func' => 'php_ini_check', 
    130                         'value' => 7, 
    131                         'warning' => '<div id="setup_info">' . lang('The mbstring.func_overload = 7 is needed to fully support unicode (utf-8) or other multibyte-charsets.') . "</div>", 
    132                         'change' => extension_loaded('mbstring')  || function_exists('dl') && @dl(PHP_SHLIB_PREFIX.'mbstring.'.PHP_SHLIB_SUFFIX) ? 'mbstring.func_overload = 7' : '', 
     117                        'value' => 0, 
     118                        'warning' => '<div id="setup_info">' . lang('The mbstring.func_overload = 0 is needed to fully support unicode (utf-8) or other multibyte-charsets.') . "</div>", 
     119                        'change' => extension_loaded('mbstring')  || function_exists('dl') && @dl(PHP_SHLIB_PREFIX.'mbstring.'.PHP_SHLIB_SUFFIX) ? 'mbstring.func_overload = 0' : '', 
    133120                ), 
    134121                'imap' => array( 
    135122                        'func' => 'extension_check', 
     
    153140                        'func' => 'permission_check', 
    154141                        'is_writable' => True 
    155142                ), 
    156 #               'fudforum' => array( 
    157 #                       'func' => 'permission_check', 
    158 #                       'is_writable' => True, 
    159 #                       'only_if_exists' => True 
    160 #               ), 
    161 #               'gd' => array( 
    162 #                       'func' => 'gd_check' 
    163 #               ) 
    164143        ); 
    165144 
    166145        // some constants for pre php4.3 
     
    473452                } else { 
    474453                        $GLOBALS['phpgw_setup']->html->show_header(lang('Checking the Expresso Livre (eGroupWare) Installation'),False,'config',$ConfigDomain ? $ConfigDomain . '(' . @$phpgw_domain[$ConfigDomain]['db_type'] . ')' : ''); 
    475454                        echo '<h1>'.lang('Checking the Expresso Livre (eGroupWare) Installation')."</h1>\n"; 
    476                         # echo "<pre style=\"text-align: left;\">\n";; 
    477455                } 
    478456        } 
    479457        else 
     
    491469 
    492470        if ($run_by_webserver) 
    493471        { 
    494                 # echo "</pre>\n";; 
    495472 
    496473                if ($GLOBALS['phpgw_info']['setup']['stage']['header'] != 10) 
    497474                { 
     
    518495                        echo '<br><a href="'.str_replace('check_install.php','',$_SERVER['HTTP_REFERER']).'">'.lang('Return to Setup')."</a></h3>\n"; 
    519496                } 
    520497                $setup_tpl->pparse('out','T_footer'); 
    521                 //echo "</body>\n</html>\n"; 
    522498        } 
    523499?>