bug fix db.config.php setting

This commit is contained in:
akasima 2013-12-09 20:17:34 +09:00
parent c7095449b8
commit 5b0c575ddf

View file

@ -555,7 +555,8 @@ class installController extends install
}
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));
}
else