p

감사합니다 잘몰라서 다시 문의 드립니다...

· 2012-10-19 (금) 17:33:23 · 938 · 2
latest.skin.php 파일에서

echo " " . $list[$i]['icon_new'];
echo " " . $list[$i]['icon_file'];
echo " " . $list[$i]['icon_link'];
echo " " . $list[$i]['icon_hot'];
echo " " . $list[$i]['icon_secret'];

아이콘 출력부분입니다

웹에서 소스를 보면 아래처럼 상대주소로 보이는데
<img src='./skin/latest/latest_link/img/icon_link.gif' align='absmiddle'>

아래처럼 절대 주소로 보이게 할려면 어디를 고쳐야 하는지요
<img src='http://도메인/skin/latest/latest_link/img/icon_link.gif' align='absmiddle'>


=============================================================
/lib/latest.lib.php 의 이부분을 고치라고 하셔서 아래처럼 바꿧는데
if ($skin_dir)
$latest_skin_path = "$g4[path]/skin/latest/$skin_dir";
else
$latest_skin_path = "$g4[path]/skin/latest/basic";

바꾼부분 $g4[path]대신 도메인주소 :
$latest_skin_path = "http://도메인/skin/latest/$skin_dir";
------------------------------------------------------------------------

/lib/latest.lib.php 의 아래부분에 오류가 메세지가 뜨는데 뭘 잘못한건가요

include "$latest_skin_path/latest.skin.php";
|

댓글 2개

/lib/latest.lib.php 에서
$list[$i] = get_list($row, $board, $latest_skin_path, $subject_len);
==>
$list[$i] = get_list($row, $board, "http://도메인/skin/latest/$skin_dir", $subject_len);

이렇게한번해보세요
아웃존님 감사합니다....인사를 너무 늦게 드리네요 너무 고맙습니다....
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

66,531건

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
12-10-19 조회 1,125
12-10-19 조회 939
12-10-19 조회 1,759
12-10-19 조회 1,090
12-10-19 조회 3,230
12-10-19 조회 922
12-10-19 조회 1,707
12-10-19 조회 2,621
12-10-19 조회 1,694
12-10-19 조회 881
12-10-19 조회 1,129
12-10-19 조회 937
12-10-19 조회 1,651
12-10-19 조회 1,652
12-10-19 조회 1,678
12-10-18 조회 1,353
12-10-18 조회 1,230
12-10-18 조회 962
12-10-18 조회 1,060
12-10-18 조회 1,003