수정
This commit is contained in:
@@ -11,7 +11,7 @@ class WorkerLog extends BaseController
|
|||||||
*/
|
*/
|
||||||
public function index()
|
public function index()
|
||||||
{
|
{
|
||||||
$data['title'] = 'Worker 로그 통합 관리';
|
$this->data['title'] = 'Worker 로그 통합 관리';
|
||||||
|
|
||||||
// 로그 디렉토리 목록
|
// 로그 디렉토리 목록
|
||||||
$logDirs = [
|
$logDirs = [
|
||||||
@@ -61,15 +61,15 @@ class WorkerLog extends BaseController
|
|||||||
return strtotime($b['timestamp']) - strtotime($a['timestamp']);
|
return strtotime($b['timestamp']) - strtotime($a['timestamp']);
|
||||||
});
|
});
|
||||||
|
|
||||||
$data['logs'] = $allLogs;
|
$this->data['logs'] = $allLogs;
|
||||||
$data['date'] = $date;
|
$this->data['date'] = $date;
|
||||||
$data['logType'] = $logType;
|
$this->data['logType'] = $logType;
|
||||||
$data['logDirs'] = $logDirs;
|
$this->data['logDirs'] = $logDirs;
|
||||||
|
|
||||||
// 사용 가능한 날짜 목록 (최근 30일)
|
// 사용 가능한 날짜 목록 (최근 30일)
|
||||||
$data['availableDates'] = $this->getAvailableLogDates($logDirs);
|
$this->data['availableDates'] = $this->getAvailableLogDates($logDirs);
|
||||||
|
|
||||||
return view('pages/manage/worker_log', $data);
|
return view('pages/manage/worker_log', $this->data);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user