mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-28 23:03:25 +09:00
issue 2740 add unique visitor statistics api
json_encode2 function modify (Because Maserati only supports php5.2.4 above) git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12374 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
56110ce3c3
commit
c7fb2d5ae8
4 changed files with 12 additions and 36 deletions
|
|
@ -253,6 +253,13 @@ class counterModel extends counter
|
|||
return $status;
|
||||
}
|
||||
|
||||
public function getWeeklyUniqueVisitor()
|
||||
{
|
||||
$date = date('Ymd');
|
||||
$output = $this->getHourlyStatus('week', $date);
|
||||
|
||||
$this->add('data', $output);
|
||||
}
|
||||
}
|
||||
/* End of file counter.model.php */
|
||||
/* Location: ./modules/counter/counter.model.php */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue