#905 add lang_type configure

This commit is contained in:
akasima 2014-08-20 17:24:48 +09:00 committed by bnu
parent db92b5bd40
commit 2420ae6abf
2 changed files with 3 additions and 1 deletions

View file

@ -225,7 +225,8 @@ class installController extends install
);
$db_info->slave_db = array($db_info->master_db);
$db_info->default_url = Context::getRequestUri();
$db_info->lang_type = Context::getLangType();
$db_info->lang_type = Context::get('lang_type') ? Context::get('lang_type') : Context::getLangType();
Context::setLangType($db_info->lang_type);
$db_info->use_rewrite = Context::get('use_rewrite');
$db_info->time_zone = Context::get('time_zone');