Ticket #2019: setupFix_Mbstring.patch
File setupFix_Mbstring.patch, 3.3 KB (added by joaquim.ferraz, 13 years ago) |
---|
-
setup/
old new 62 62 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". 63 63 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) !!!') 64 64 ), 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 */74 65 'magic_quotes_runtime' => array( 75 66 'func' => 'php_ini_check', 76 67 'value' => 0, … … 104 95 'error' => lang('include_path need to contain "." - the current directory'), 105 96 'save_mode' => 'max_execution_time = 30' 106 97 ), 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 # ),111 98 'ldap' => array( 112 99 'func' => 'extension_check', 113 100 'warning' => "<div id='setup_info'>" . lang('The %1 extension is needed, if you plan to use a %2 database.','ldap','LDAP').'</div>' … … 127 114 ), 128 115 'mbstring.func_overload' => array( 129 116 'func' => 'php_ini_check', 130 'value' => 7,131 'warning' => '<div id="setup_info">' . lang('The mbstring.func_overload = 7is 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' : '', 133 120 ), 134 121 'imap' => array( 135 122 'func' => 'extension_check', … … 153 140 'func' => 'permission_check', 154 141 'is_writable' => True 155 142 ), 156 # 'fudforum' => array(157 # 'func' => 'permission_check',158 # 'is_writable' => True,159 # 'only_if_exists' => True160 # ),161 # 'gd' => array(162 # 'func' => 'gd_check'163 # )164 143 ); 165 144 166 145 // some constants for pre php4.3 … … 473 452 } else { 474 453 $GLOBALS['phpgw_setup']->html->show_header(lang('Checking the Expresso Livre (eGroupWare) Installation'),False,'config',$ConfigDomain ? $ConfigDomain . '(' . @$phpgw_domain[$ConfigDomain]['db_type'] . ')' : ''); 475 454 echo '<h1>'.lang('Checking the Expresso Livre (eGroupWare) Installation')."</h1>\n"; 476 # echo "<pre style=\"text-align: left;\">\n";;477 455 } 478 456 } 479 457 else … … 491 469 492 470 if ($run_by_webserver) 493 471 { 494 # echo "</pre>\n";;495 472 496 473 if ($GLOBALS['phpgw_info']['setup']['stage']['header'] != 10) 497 474 { … … 518 495 echo '<br><a href="'.str_replace('check_install.php','',$_SERVER['HTTP_REFERER']).'">'.lang('Return to Setup')."</a></h3>\n"; 519 496 } 520 497 $setup_tpl->pparse('out','T_footer'); 521 //echo "</body>\n</html>\n";522 498 } 523 499 ?>