경로 변수 $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

@ -43,7 +43,7 @@ echo '<?xml version="1.0" encoding="'.$g4['charset'].'"?>'."\n";
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title><?=specialchars_replace($config['cf_title'].' &gt; '.$subj1.' &gt; '.$subj2)?></title>
<link><?=specialchars_replace($g4['url'].'/'.$g4['bbs'].'/board.php?bo_table='.$bo_table)?></link>
<link><?=specialchars_replace(G4_BBS_URL.'/board.php?bo_table='.$bo_table)?></link>
<description>테스트 버전 0.2 (2004-04-26)</description>
<language>ko</language>
@ -65,7 +65,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
<item>
<title><?=specialchars_replace($row['wr_subject'])?></title>
<link><?=specialchars_replace($g4['url'].'/'.$g4[bbs].'/board.php?bo_table='.$bo_table.'&amp;wr_id='.$row['wr_id'])?></link>
<link><?=specialchars_replace(G4_BBS_URL.'/board.php?bo_table='.$bo_table.'&amp;wr_id='.$row['wr_id'])?></link>
<description><![CDATA[<?=$file?><?=conv_content($row['wr_content'], $html)?>]]></description>
<dc:creator><?=specialchars_replace($row['wr_name'])?></dc:creator>
<?