언어코드가 설정되어 있지 않거나 혹은 잘못된 언어코드가 설정되었을때 문제를 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6754 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2009-08-20 08:10:20 +00:00
parent ffe1f42618
commit 01e43dbeb8

View file

@ -103,6 +103,7 @@
// 관리자 설정 언어값에 등록된 것이 아니라면 기본 언어로 변경
if(!$this->lang_type) $this->lang_type = "en";
if(is_array($lang_supported)&&!isset($lang_supported[$this->lang_type])) $this->lang_type = 'en';
Context::set('lang_supported', $lang_supported);
$this->setLangType($this->lang_type);