mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 19:51:42 +09:00
언어코드가 설정되어 있지 않거나 혹은 잘못된 언어코드가 설정되었을때 문제를 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6754 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ffe1f42618
commit
01e43dbeb8
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue