공통데이터 관리 수정

This commit is contained in:
yangsh
2025-12-31 15:11:40 +09:00
parent 38444fcb4f
commit 04a06f1781
36 changed files with 1351 additions and 139 deletions

View File

@@ -16,7 +16,7 @@ class Notice extends BaseController
public function notice(): string
{
return view('pages/board/notice');
return view('pages/board/notice', $this->data);
}
@@ -61,7 +61,7 @@ class Notice extends BaseController
throw \CodeIgniter\Exceptions\PageNotFoundException::forPageNotFound();
}
return view('pages/board/noticeDetail', $data);
return view('pages/board/noticeDetail', array_merge($this->data, $data));
}
// 첨부파일 다운로드
@@ -103,7 +103,7 @@ class Notice extends BaseController
// 공지사항 작성 화면
public function write(): string
{
return view('pages/board/noticeWrite');
return view('pages/board/noticeWrite', $this->data);
}
// 공지사항 작성
@@ -228,7 +228,7 @@ class Notice extends BaseController
}
return view('pages/board/noticeModify', $data);
return view('pages/board/noticeModify', array_merge($this->data, $data));
}