질문 드립니다. 채택완료
단사란
11년 전
조회 4,712
경로를 아무리 봐도 모르겠습니다 ㅠㅠ 초보라서요....
그누보드4에서는
첫번째
include_once $g4['path']."/lib/a.class.php"; $a = new a();
두번째
include_once("./dbconfig.php");
세번째
echo $a->js_include($g4['path']);
네번째
$g4_path = "..";
이렇게 적었는데요...
그누보드5에서는 어떻게 적어야 하나요? ㅠㅠ
댓글을 작성하려면 로그인이 필요합니다.
답변 2개
채택된 답변
+20 포인트
11년 전
첫번째
include_once $g4['path']."/lib/a.class.php";
$a = new a();
$a = new a();
include_once(G5_LIB_PATH.'/a.class.php');
$a = new a();
두번째
include_once("./dbconfig.php");
include_once(G5_DATA_URL.'/dbconfig.php');
세번째
echo $a->js_include($g4['path']);
echo $a->js_include(G5_PATH);
용좌님 말씀대로 config.php 참조해보시기 바랍니다.
로그인 후 평가할 수 있습니다
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인