아웃로그인 질문입니다. 정보
아웃로그인 질문입니다.본문
-index.html
-html/sub_01.html
index.html에서는 아웃로그인이 잘 먹습니다.
하지만 ㅠㅠhtml 폴더안에 들어있는 sub_01.html은 먹히지 않네요 ㅠㅠ
index.html 에 들어간 로그인 소스는
<?
include_once("./_common.php");
include_once("$g4[path]/lib/outlogin.lib.php");
?> <?=outlogin("mentory_basic");?>
이거거든요
하지만 html폴더안에있는 sub_01.html은 먹히지 않네요 ㅠㅠ
어떻게 해야 되나요??
참고로 그누보드는 따로 폴더안에 또 그누보드가들어있지않고
그냥 루트폴더안에 들어가있는상태입니다.
-html/sub_01.html
index.html에서는 아웃로그인이 잘 먹습니다.
하지만 ㅠㅠhtml 폴더안에 들어있는 sub_01.html은 먹히지 않네요 ㅠㅠ
index.html 에 들어간 로그인 소스는
<?
include_once("./_common.php");
include_once("$g4[path]/lib/outlogin.lib.php");
?> <?=outlogin("mentory_basic");?>
이거거든요
하지만 html폴더안에있는 sub_01.html은 먹히지 않네요 ㅠㅠ
어떻게 해야 되나요??
참고로 그누보드는 따로 폴더안에 또 그누보드가들어있지않고
그냥 루트폴더안에 들어가있는상태입니다.
댓글 전체
-. /html/ 경로에 _common.php를 다음과 같은 내용으로 하나 생성시키기
<?
$g4_path = "..";
include_once("$g4_path/common.php");
?>
- 끝 -
<?
$g4_path = "..";
include_once("$g4_path/common.php");
?>
- 끝 -
앗 ^^ 되네요~ 감사합니다^^