mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-26 22:02:13 +09:00
#19330551 접속통계 그래프 오류 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7974 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
e86e655cc1
commit
4538606662
1 changed files with 2 additions and 3 deletions
|
|
@ -181,7 +181,6 @@
|
|||
$visitors[$val->regdate] += $val->unique_visitor;
|
||||
}
|
||||
}
|
||||
|
||||
$status->week_max = 0;
|
||||
if(count($visitors)) {
|
||||
foreach($visitors as $key => $val) {
|
||||
|
|
@ -189,7 +188,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
for($i=$start_time;$i<$end_time;$i+=60*60*24) {
|
||||
for($i=$start_time;$i<=$end_time;$i+=60*60*24) {
|
||||
$status->thisWeekSum += $visitors[date("Ymd",$i)];
|
||||
$status->week[date("Y.m.d",$i)]->this = (int)$visitors[date("Ymd",$i)];
|
||||
$status->week[date("Y.m.d",$i)]->last = (int)$visitors[date("Ymd",$i-60*60*24*7)];
|
||||
|
|
@ -349,7 +348,7 @@
|
|||
Context::set('start_module', $output->data);
|
||||
|
||||
Context::set('status', $status);
|
||||
|
||||
debugPrint($status);
|
||||
Context::set('layout','none');
|
||||
$this->setTemplateFile('index');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue