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

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

@ -71,6 +71,7 @@
// 쿠키로 설정된 언어타입 가져오기
if($_COOKIE['lang_type']) $this->lang_type = $_COOKIE['lang_type'];
else $this->lang_type = $this->db_info->lang_type;
// 등록된 기본 언어파일 찾기
$lang_files = FileHandler::readDir('./common/lang');