#43 설정 값 저장 방식 개선.

This commit is contained in:
bnu 2013-11-22 10:57:28 +09:00
parent 18ab99f2cc
commit 39489ac1b7
2 changed files with 7 additions and 2 deletions

View file

@ -559,6 +559,12 @@ class installController extends install
{
$tmpValue = $this->_getDbConnText($key, $val, true);
}
else if($key == 'sitelock_whitelist')
{
$tmpValue = preg_split("/[\r\n|\r|\n]+/", $val);
$tmpValue = array_unique($tmpValue);
$tmpValue = sprintf('$db_info->%s = array(\'%s\');' . PHP_EOL, $key, implode('\', \'', $tmpValue));
}
else
{
if($key == 'default_url')