mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +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.
|
* Set the default character encoding.
|
||||||
*/
|
*/
|
||||||
ini_set('default_charset', 'UTF-8');
|
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');
|
mb_internal_encoding('UTF-8');
|
||||||
}
|
|
||||||
if (function_exists('mb_regex_encoding'))
|
|
||||||
{
|
|
||||||
mb_regex_encoding('UTF-8');
|
mb_regex_encoding('UTF-8');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue