mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
Keep the charset stable, only setting it at install time
This commit is contained in:
parent
d9a9cfe21b
commit
2409448cec
3 changed files with 13 additions and 34 deletions
|
|
@ -135,9 +135,9 @@ class installController extends install
|
|||
// Check DB charset if using MySQL
|
||||
if(stripos($db_info->master_db['db_type'], 'mysql') !== false && !isset($db_info->master_db['db_charset']))
|
||||
{
|
||||
$db_charset = $oDB->getBestSupportedCharset();
|
||||
$db_info->master_db['db_charset'] = $db_charset;
|
||||
$db_info->slave_db[0]['db_charset'] = $db_charset;
|
||||
$oDB->charset = $oDB->getBestSupportedCharset();
|
||||
$db_info->master_db['db_charset'] = $oDB->charset;
|
||||
$db_info->slave_db[0]['db_charset'] = $oDB->charset;
|
||||
Context::setDBInfo($db_info);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue