mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 08:41:39 +09:00
Simplify check for mbstring #2507
This commit is contained in:
parent
6aac58eddb
commit
6cc9511243
1 changed files with 1 additions and 4 deletions
|
|
@ -32,12 +32,9 @@ date_default_timezone_set(@date_default_timezone_get());
|
|||
* Set the default character encoding.
|
||||
*/
|
||||
ini_set('default_charset', 'UTF-8');
|
||||
if (function_exists('mb_internal_encoding'))
|
||||
if (function_exists('mb_internal_encoding') && function_exists('mb_regex_encoding'))
|
||||
{
|
||||
mb_internal_encoding('UTF-8');
|
||||
}
|
||||
if (function_exists('mb_regex_encoding'))
|
||||
{
|
||||
mb_regex_encoding('UTF-8');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue