mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-16 01:39:58 +09:00
등록된 언어셋을 계산할 경우 현재 쿠키로 지정된 lang_type이 있을 경우 언어셋 목록 계산을 잘못하던 부분 수정
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1903 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
7935a58330
commit
ee96c93126
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,6 @@
|
|||
if(!$this->lang_type && ereg($lang_prefix, strtolower($_SERVER['HTTP_ACCEPT_LANGUAGE']))) {
|
||||
$this->lang_type = $lang_prefix;
|
||||
setcookie('lang_type', $this->lang_type, time()+60*60*24*365, '/');
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -275,6 +274,7 @@
|
|||
**/
|
||||
function _setLangType($lang_type = 'ko') {
|
||||
$this->lang_type = $lang_type;
|
||||
$this->_set('lang_type',$lang_type);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue