#85, time()을 $_SERVER['REQUEST_TIME']으로 대체

This commit is contained in:
khongchi 2013-11-21 16:13:53 +09:00
parent 3bc8d7da67
commit 540da2c75c
28 changed files with 48 additions and 48 deletions

View file

@ -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";