This commit is contained in:
2026-02-10 14:17:03 +09:00
parent 54e8c50a11
commit 906f208734

View File

@@ -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);
} }
/** /**