등록된 언어셋을 계산할 경우 현재 쿠키로 지정된 lang_type이 있을 경우 언어셋 목록 계산을 잘못하던 부분 수정

git-svn-id: http://xe-core.googlecode.com/svn/trunk@1903 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-07-11 07:17:29 +00:00
parent 7935a58330
commit ee96c93126

View file

@ -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);
}
/**