#905 add lang_type configure

This commit is contained in:
akasima 2014-08-20 17:24:48 +09:00
parent 565614696f
commit 7e2adc30f2
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');

View file

@ -53,6 +53,7 @@ class installView extends install
'password2' =>'pass',
'nick_name' =>'admin',
'user_id' =>'admin',
'lang_type' =>'ko', // en, jp, ...
);
*/
include $install_config_file;