Skip to content

Commit

Permalink
blog not blogs
Browse files Browse the repository at this point in the history
  • Loading branch information
toyomoyo committed Mar 17, 2006
1 parent ab7d76b commit 0deaa99
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions blog/rsslib.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ function blog_rss_print_link($filtertype, $filterselect, $tooltiptext='') {
$rsspix = $CFG->pixpath .'/i/rss.gif';

if ($CFG->slasharguments) {
$rsspath = $CFG->wwwroot.'/rss/file.php/blogs/'.$filtertype.'/'.$filterselect.'/rss.xml';
$rsspath = $CFG->wwwroot.'/rss/file.php/blog/'.$filtertype.'/'.$filterselect.'/rss.xml';
} else {
$rsspath = $CFG->wwwroot.'/rss/file.php?file=/blogs/'.$filtertype.'/'.$filterselect.'/rss.xml';
$rsspath = $CFG->wwwroot.'/rss/file.php?file=/blog/'.$filtertype.'/'.$filterselect.'/rss.xml';
}
print '<div align="right"><a href="'. $rsspath .'"><img src="'. $rsspix .'" title="'. strip_tags($tooltiptext) .'" alt="" /></a></div>';

Expand Down Expand Up @@ -44,7 +44,7 @@ function blog_rss_feeds() {
*/
function blog_rss_file_name($type, $id) {
global $CFG;
$filename = "$CFG->dataroot/rss/blogs/$type/$id/rss.xml";
$filename = "$CFG->dataroot/rss/blog/$type/$id/rss.xml";
return $filename;
}

Expand Down

0 comments on commit 0deaa99

Please sign in to comment.