#18900389 언어를 바꾸는 쿠키가 정상적으로 동작하지 않던 버그 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8126 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2011-02-25 05:17:53 +00:00
parent ca8306b18a
commit 5878450032
3 changed files with 28 additions and 24 deletions

View file

@ -99,7 +99,7 @@
$this->lang_type = $this->get('l');
if($_COOKIE['lang_type'] != $this->lang_type)
{
setcookie('lang_type', $this->lang_type);
setcookie('lang_type', $this->lang_type, time()+3600*24*1000, '/');
}
}
else if($_COOKIE['lang_type']) $this->lang_type = $_COOKIE['lang_type'];