Do not leave out any custom configuration

This commit is contained in:
Kijin Sung 2016-02-06 12:41:12 +09:00
parent a80468fc25
commit 3b641c1774
3 changed files with 23 additions and 0 deletions

View file

@ -519,6 +519,13 @@ class Context
$db_info->use_prepared_statements = $config['use_prepared_statements'] ? 'Y' : 'N';
$db_info->use_rewrite = $config['use_rewrite'] ? 'Y' : 'N';
$db_info->use_sso = $config['use_sso'] ? 'Y' : 'N';
if (is_array($config['other']))
{
foreach ($config['other'] as $key => $value)
{
$db_info->{$key} = $value;
}
}
// Save old format to Context instance.
self::$_instance->allow_rewrite = $config['use_rewrite'];