경로 변수 $g4['url'] 등을 G4_URL 과 같은 상수로 변경

This commit is contained in:
gnuboard
2013-02-01 14:23:10 +09:00
parent cf43f77951
commit b4d8615d63
26 changed files with 47 additions and 72 deletions

View File

@ -7,7 +7,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<h2>인기검색어</h2>
<ul>
<? for ($i=0; $i<count($list); $i++) { ?>
<li><a href="<?=$g4['url']?>/bbs/search.php?sfl=wr_subject&amp;sop=and&amp;stx=<?=urlencode($list[$i]['pp_word'])?>"><?=$list[$i]['pp_word']?></a></li>
<li><a href="<?=G4_BBS_URL?>/search.php?sfl=wr_subject&amp;sop=and&amp;stx=<?=urlencode($list[$i]['pp_word'])?>"><?=$list[$i]['pp_word']?></a></li>
<? } ?>
</ul>
</div>