mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 00:02:21 +09:00
Do not leave out any custom configuration
This commit is contained in:
parent
a80468fc25
commit
3b641c1774
3 changed files with 23 additions and 0 deletions
|
|
@ -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'];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue