#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

@ -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)