처음 홈페이지 방문한 사용자의 언어코드를 관리자가 설치한 언어타입으로 세팅하도록 변경

git-svn-id: http://xe-core.googlecode.com/svn/trunk@2039 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-07-26 12:40:05 +00:00
parent 7e0bd9bce4
commit 19a2dff09d
3 changed files with 3 additions and 0 deletions

View file

@ -52,6 +52,7 @@
$db_info = Context::getDBInfo();
$db_info->time_zone = $time_zone;
$db_info->use_rewrite = $use_rewrite;
$db_info->lang_type = Context::getLangType();
Context::setDBInfo($db_info);
$oInstallController = &getController('install');

View file

@ -33,6 +33,7 @@
// DB와 관련된 변수를 받음
$db_info = Context::gets('db_type','db_port','db_hostname','db_userid','db_password','db_database','db_table_prefix','time_zone','use_rewrite');
if($db_info->use_rewrite!='Y') $db_info->use_rewrite = 'N';
$db_info->lang_type = Context::getLangType();
// DB의 타입과 정보를 등록
Context::setDBInfo($db_info);