mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
using php version depending default_charset or mbstring.internal_encoding
This commit is contained in:
parent
ef84797019
commit
0c9cc9bdbd
@ -169,7 +169,8 @@ class translation
|
|||||||
{
|
{
|
||||||
if(!empty(self::$system_charset))
|
if(!empty(self::$system_charset))
|
||||||
{
|
{
|
||||||
ini_set('mbstring.internal_encoding',self::$system_charset);
|
$ini_default_charset = version_compare(PHP_VERSION, '5.6', '<') ? 'mbstring.internal_encoding' : 'default_charset';
|
||||||
|
ini_set($ini_default_charset, self::$system_charset);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user