mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51: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
|
|
@ -19,7 +19,7 @@ class counter_status extends WidgetHandler
|
|||
$oCounterModel = &getModel('counter');
|
||||
|
||||
$site_module_info = Context::get('site_module_info');
|
||||
$output = $oCounterModel->getStatus(array('00000000', date('Ymd', time()-60*60*24), date('Ymd')), $site_module_info->site_srl);
|
||||
$output = $oCounterModel->getStatus(array('00000000', date('Ymd', $_SERVER['REQUEST_TIME']-60*60*24), date('Ymd')), $site_module_info->site_srl);
|
||||
if(count($output))
|
||||
{
|
||||
foreach($output as $key => $val)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue