summaryrefslogtreecommitdiff
path: root/boards_rss.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2007-07-08 07:56:40 +0000
committerMax Kremmel <xing@synapse.plus.com>2007-07-08 07:56:40 +0000
commit2d9c43cf0f0bab625786e1d532125bfcc93620f7 (patch)
treebb7376ef0233f975db73171a43cdc91ef9a5cfbd /boards_rss.php
parent459fe3bec1e201d33be11be876cd758edd13f605 (diff)
downloadboards-2d9c43cf0f0bab625786e1d532125bfcc93620f7.tar.gz
boards-2d9c43cf0f0bab625786e1d532125bfcc93620f7.tar.bz2
boards-2d9c43cf0f0bab625786e1d532125bfcc93620f7.zip
append a common rss cache feed filename for easier maintenance. this tail includes users groups that permissions are generally respected and cache package rss files in individual dirs.
Diffstat (limited to 'boards_rss.php')
-rw-r--r--boards_rss.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/boards_rss.php b/boards_rss.php
index f2fdb61..2942a08 100644
--- a/boards_rss.php
+++ b/boards_rss.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_boards/boards_rss.php,v 1.1 2007/03/31 15:54:13 squareing Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_boards/boards_rss.php,v 1.2 2007/07/08 07:56:40 squareing Exp $
* @package boards
* @subpackage functions
*/
@@ -33,7 +33,7 @@ $rss->description = $board->getField( 'parsed_data' );
$rss->link = 'http://'.$_SERVER['HTTP_HOST'].$board->getDisplayUrl();
// check if we want to use the cache file
-$cacheFile = TEMP_PKG_PATH.RSS_PKG_NAME.'/'.BOARDS_PKG_NAME.'_'.$version.'.xml';
+$cacheFile = TEMP_PKG_PATH.RSS_PKG_NAME.'/'.BOARDS_PKG_NAME.'/'.$cacheFileTail;
$rss->useCached( $rss_version_name, $cacheFile, $gBitSystem->getConfig( 'rssfeed_cache_time' ));
$topic = new BitBoardTopic();