mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +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
|
|
@ -847,7 +847,7 @@ class documentItem extends Object
|
|||
if($this->isSecret()) $buffs[] = "secret";
|
||||
|
||||
// Set the latest time
|
||||
$time_check = date("YmdHis", time()-$time_interval);
|
||||
$time_check = date("YmdHis", $_SERVER['REQUEST_TIME']-$time_interval);
|
||||
|
||||
// Check new post
|
||||
if($this->get('regdate')>$time_check) $buffs[] = "new";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue