최근게시물 에러납니다~~
폴더구조
------------------------------------------
[F]bbs/(그누보드)
------------------------------------------
[F]html/ _common.php
index.html
.......
.......
------------------------------------------
index.html (html/index.html파일로 이동)
------------------------------------------
위의 이런구조로 되있습니다[F]는 폴더구여
우선 html/index.html 상단삽입.
<?
include "_common.php";
?>
출력부분 <? latest("basic", notice, 12, 70); ?>
basic스킨의 notice게시판 출력하려고 한겁니다
-----------------------------------------------
"_common.php" 내용
<?
$g4_path = "../bbs"; // common.php 의 상대 경로
include_once("$g4_path/common.php");
include_once("$g4[path]/lib/outlogin.lib.php");
?>
이런 구조로되있는데 오류가나네요^^
한참 찾다가 안되서 질문올리게되네요~(전엔 했었는데;;)
답변 부탁드립니다
사이트주소 : http://bellsante.cafe24.com/html/
------------------------------------------
[F]bbs/(그누보드)
------------------------------------------
[F]html/ _common.php
index.html
.......
.......
------------------------------------------
index.html (html/index.html파일로 이동)
------------------------------------------
위의 이런구조로 되있습니다[F]는 폴더구여
우선 html/index.html 상단삽입.
<?
include "_common.php";
?>
출력부분 <? latest("basic", notice, 12, 70); ?>
basic스킨의 notice게시판 출력하려고 한겁니다
-----------------------------------------------
"_common.php" 내용
<?
$g4_path = "../bbs"; // common.php 의 상대 경로
include_once("$g4_path/common.php");
include_once("$g4[path]/lib/outlogin.lib.php");
?>
이런 구조로되있는데 오류가나네요^^
한참 찾다가 안되서 질문올리게되네요~(전엔 했었는데;;)
답변 부탁드립니다
사이트주소 : http://bellsante.cafe24.com/html/
|
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기
댓글 5개
설치/운영매뉴얼 읽어보세용
include_once("$g4[path]/lib/latest.lib.php"); // latest() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.
이것은 외부로그인에 필요한 lib파일입니다.
include_once("$g4[path]/lib/latest.lib.php");
이것을 추가해보세요
다만 lib폴드에 위 파일이 있어야 합니다.
이거 추가하니까 되네요~
골든님 귀차나님 답변 감사드립니다^^