Changeset 4708 for branches/2.2


Ignore:
Timestamp:
07/13/11 17:36:36 (13 years ago)
Author:
niltonneto
Message:

Ticket #2019 - Ajustando verificação do mbstring no /setup/check_install.php

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/setup/check_install.php

    r2 r4708  
    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', 
     
    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', 
     
    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( 
     
    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 
     
    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        } 
     
    492470        if ($run_by_webserver) 
    493471        { 
    494                 # echo "</pre>\n";; 
    495472 
    496473                if ($GLOBALS['phpgw_info']['setup']['stage']['header'] != 10) 
     
    519496                } 
    520497                $setup_tpl->pparse('out','T_footer'); 
    521                 //echo "</body>\n</html>\n"; 
    522498        } 
    523499?> 
Note: See TracChangeset for help on using the changeset viewer.