mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +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
|
|
@ -148,7 +148,7 @@ class spamfilterModel extends spamfilter
|
|||
if(!$ipaddress) $ipaddress = $_SERVER['REMOTE_ADDR'];
|
||||
|
||||
$args->ipaddress = $ipaddress;
|
||||
$args->regdate = date("YmdHis", time()-$time);
|
||||
$args->regdate = date("YmdHis", $_SERVER['REQUEST_TIME']-$time);
|
||||
$output = executeQuery('spamfilter.getLogCount', $args);
|
||||
$count = $output->data->count;
|
||||
return $count;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue