mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-25 21:32:51 +09:00
#18900389 언어를 바꾸는 쿠키가 정상적으로 동작하지 않던 버그 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8126 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ca8306b18a
commit
5878450032
3 changed files with 28 additions and 24 deletions
|
|
@ -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'];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue