설정 저장 문제 수정.

This commit is contained in:
bnu 2013-11-29 17:35:25 +09:00
parent f43fadbe0f
commit ffcf599e68
2 changed files with 3 additions and 3 deletions

View file

@ -155,8 +155,8 @@ class installController extends install
// install by default XE UI
else
{
include $this->db_tmp_config_file;
include $this->etc_tmp_config_file;
if(FileHandler::exists($this->db_tmp_config_file)) include $this->db_tmp_config_file;
if(FileHandler::exists($this->etc_tmp_config_file)) include $this->etc_tmp_config_file;
}
// Set DB type and information

View file

@ -264,7 +264,7 @@ class moduleController extends module
if($args->domain && !isSiteID($args->domain))
{
$args->domain = (substr_compare($domain, '/', -1) === 0) ? substr($domain, 0, -1) : $domain;
$args->domain = (strlen($args->domain) >= 1 && substr_compare($args->domain, '/', -1) === 0) ? substr($args->domain, 0, -1) : $args->domain;
}
}
$output = executeQuery('module.updateSite', $args);