$view[file][$i][view] 는 어디에서 정의하고 있나요? 정보
$view[file][$i][view] 는 어디에서 정의하고 있나요?본문
있을 만한 곳을 찾아봐도 도통 보이지 않네요.ㅠㅠ
댓글 전체
다음 순서대로 찾아가보세요.
1. bbs/view.php : $view = get_view($write, $board, $board_skin_path);
2. lib/common.lib.php : get_view() -> get_list()
3. lib/common.lib.php : get_list() {
....
// 가변 파일
$list[file] = get_file($board[bo_table], $list[wr_id]);
...
}
4. lib/common.lib.php : get_file()
// 게시글에 첨부된 파일을 얻는다. (배열로 반환)
function get_file($bo_table, $wr_id)
{
....
}
1. bbs/view.php : $view = get_view($write, $board, $board_skin_path);
2. lib/common.lib.php : get_view() -> get_list()
3. lib/common.lib.php : get_list() {
....
// 가변 파일
$list[file] = get_file($board[bo_table], $list[wr_id]);
...
}
4. lib/common.lib.php : get_file()
// 게시글에 첨부된 파일을 얻는다. (배열로 반환)
function get_file($bo_table, $wr_id)
{
....
}