mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
#905 add lang_type configure
This commit is contained in:
parent
565614696f
commit
7e2adc30f2
2 changed files with 3 additions and 1 deletions
|
|
@ -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');
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue