기본 카운터 모듈의 관리자 통계 볼때 느린속도로 인하여 기본을 일별로 하고 일별/월별/년도별은 counter_status에서 추출하도록 코드 변경

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3089 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-11-27 08:03:26 +00:00
parent cd36ff5718
commit 02ab3dca48
3 changed files with 33 additions and 15 deletions

View file

@ -34,7 +34,10 @@
// 시간, 일, 월, 년도별로 데이터 가져오기
$type = Context::get('type');
if(!$type) $type = 'hour';
if(!$type) {
$type = 'day';
Context::set('type',$type);
}
$detail_status = $oCounterModel->getHourlyStatus($type, $selected_date);
Context::set('detail_status', $detail_status);