mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 22:33:10 +09:00
#85, time()을 $_SERVER['REQUEST_TIME']으로 대체
This commit is contained in:
parent
3bc8d7da67
commit
540da2c75c
28 changed files with 48 additions and 48 deletions
|
|
@ -282,7 +282,7 @@ class Context
|
|||
$this->lang_type = $this->get('l');
|
||||
if($_COOKIE['lang_type'] != $this->lang_type)
|
||||
{
|
||||
setcookie('lang_type', $this->lang_type, time() + 3600 * 24 * 1000, '/');
|
||||
setcookie('lang_type', $this->lang_type, $_SERVER['REQUEST_TIME'] + 3600 * 24 * 1000, '/');
|
||||
}
|
||||
}
|
||||
elseif($_COOKIE['lang_type'])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue