mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 20:44:28 +09:00
bug fix db.config.php setting
This commit is contained in:
parent
c7095449b8
commit
5b0c575ddf
1 changed files with 2 additions and 1 deletions
|
|
@ -555,7 +555,8 @@ class installController extends install
|
||||||
}
|
}
|
||||||
else if($key == 'sitelock_whitelist' || $key == 'admin_ip_list')
|
else if($key == 'sitelock_whitelist' || $key == 'admin_ip_list')
|
||||||
{
|
{
|
||||||
if(is_array($val))
|
if(!is_array($val))
|
||||||
|
continue;
|
||||||
$tmpValue = sprintf('$db_info->%s = array(\'%s\');' . PHP_EOL, $key, implode('\', \'', $val));
|
$tmpValue = sprintf('$db_info->%s = array(\'%s\');' . PHP_EOL, $key, implode('\', \'', $val));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue