답변 2개 / 댓글 2개
채택된 답변
+20 포인트
* /sample.php
Copy
<?php
include_once('./_common.php');
include_once('./_head.php');
$bo_table = 'notice';
$write_table = $g5['write_prefix'] . $bo_table;
$board = get_board_db($bo_table, true);
$board_skin_path = get_skin_path('board', $board['bo_skin']);
$board_skin_url = get_skin_url('board', $board['bo_skin']);
include_once('bbs/list.php');
include_once('./_tail.php');
답변에 대한 댓글 2개
[code]
<?php
include_once('../../../common.php');
include_once('../../../head.php');
$bo_table = 'notice';
$write_table = $g5['write_prefix'] . $bo_table;
$board = get_board_db($bo_table, true);
$board_skin_path = get_skin_path('board', $board['bo_skin']);
$board_skin_url = get_skin_url('board', $board['bo_skin']);
include_once('../../../bbs/list.php');
include_once('../../../tail.php');
[/code]
<?php
include_once('../../../common.php');
include_once('../../../head.php');
$bo_table = 'notice';
$write_table = $g5['write_prefix'] . $bo_table;
$board = get_board_db($bo_table, true);
$board_skin_path = get_skin_path('board', $board['bo_skin']);
$board_skin_url = get_skin_url('board', $board['bo_skin']);
include_once('../../../bbs/list.php');
include_once('../../../tail.php');
[/code]
답변을 작성하려면 로그인이 필요합니다.
현재 sample.php를 /theme/basic/shop 경로에서 생성하고 주신 코드를 상단에 작성하여 작업하고 있습니다만 경로의 문제인건지 오류가 뜨고 있습니다.
Fatal error: Call to undefined function get_board_db() in .../public_html/theme/basic/shop/sample.php on line 18
혹시 원인이 어떤 건지 알 수 있을까요?