경로 변수 $g4['url'] 등을 G4_URL 과 같은 상수로 변경
This commit is contained in:
@ -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'].' > '.$subj1.' > '.$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.'&wr_id='.$row['wr_id'])?></link>
|
||||
<link><?=specialchars_replace(G4_BBS_URL.'/board.php?bo_table='.$bo_table.'&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>
|
||||
<?
|
||||
|
||||
Reference in New Issue
Block a user