mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
#43 설정 값 저장 방식 개선.
This commit is contained in:
parent
18ab99f2cc
commit
39489ac1b7
2 changed files with 7 additions and 2 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue