summaryrefslogtreecommitdiff
path: root/wiki_rss.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-01-17 00:23:45 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-01-17 00:23:45 +0000
commitb24756c26df4030633920950f30f5eb2f3de0bc9 (patch)
tree25881d99d937d9fc321f7b51b6cf4c2e092e209c /wiki_rss.php
parent030f62fb27ccf9f1320756c5be775342f52dbda2 (diff)
downloadwiki-b24756c26df4030633920950f30f5eb2f3de0bc9.tar.gz
wiki-b24756c26df4030633920950f30f5eb2f3de0bc9.tar.bz2
wiki-b24756c26df4030633920950f30f5eb2f3de0bc9.zip
merge recent changes into HEAD
Diffstat (limited to 'wiki_rss.php')
-rw-r--r--wiki_rss.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/wiki_rss.php b/wiki_rss.php
index 0b04c06..5d35148 100644
--- a/wiki_rss.php
+++ b/wiki_rss.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_wiki/wiki_rss.php,v 1.5 2005/12/26 12:27:43 squareing Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_wiki/wiki_rss.php,v 1.6 2006/01/17 00:23:45 squareing Exp $
* @package wiki
* @subpackage functions
*/
@@ -30,6 +30,9 @@ if( !$gBitUser->hasPermission( 'bit_p_view' ) ) {
$feeds = $wiki->getList( 0, $gBitSystem->getPreference( 'max_rss_wiki', 10 ), 'last_modified_desc', NULL, NULL, FALSE, FALSE, TRUE );
$feeds = $feeds['data'];
+ // set the rss link
+ $rss->link = 'http://'.$_SERVER['HTTP_HOST'].WIKI_PKG_URL;
+
// get all the data ready for the feed creator
foreach( $feeds as $feed ) {
$item = new FeedItem();