summaryrefslogtreecommitdiff
path: root/articles_rss.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2007-07-08 07:56:39 +0000
committerMax Kremmel <xing@synapse.plus.com>2007-07-08 07:56:39 +0000
commit49f27b02155d0629af4b9392b17325c2dc4c1bbf (patch)
treeb8f1b124f3cd49295cdc3c931bc20246f5484637 /articles_rss.php
parent0fe50a13af3d4a5360e065e6d99f2db397b98a6f (diff)
downloadarticles-49f27b02155d0629af4b9392b17325c2dc4c1bbf.tar.gz
articles-49f27b02155d0629af4b9392b17325c2dc4c1bbf.tar.bz2
articles-49f27b02155d0629af4b9392b17325c2dc4c1bbf.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 'articles_rss.php')
-rw-r--r--articles_rss.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/articles_rss.php b/articles_rss.php
index 0222b01..579a031 100644
--- a/articles_rss.php
+++ b/articles_rss.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_articles/articles_rss.php,v 1.21 2007/07/06 16:48:08 squareing Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_articles/articles_rss.php,v 1.22 2007/07/08 07:56:39 squareing Exp $
* @package article
* @subpackage functions
*/
@@ -25,7 +25,7 @@ if( !$gBitUser->hasPermission( 'p_articles_read' ) ) {
require_once( RSS_PKG_PATH."rss_error.php" );
} else {
// check if we want to use the cache file
- $cacheFile = TEMP_PKG_PATH.RSS_PKG_NAME.'/'.ARTICLES_PKG_NAME.'_'.$rss_version_name.'.xml';
+ $cacheFile = TEMP_PKG_PATH.RSS_PKG_NAME.'/'.ARTICLES_PKG_NAME.'/'.$cacheFileTail;
$rss->useCached( $rss_version_name, $cacheFile, $gBitSystem->getConfig( 'rssfeed_cache_time' ));
$articles = new BitArticle();