diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2007-07-06 16:48:08 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2007-07-06 16:48:08 +0000 |
| commit | 0fe50a13af3d4a5360e065e6d99f2db397b98a6f (patch) | |
| tree | 92e1e9d69411c9dbb4a5c553d64511ce07bcf65f /articles_rss.php | |
| parent | e89540d4bfe24cf650511e138b7e16e46d1bc3c8 (diff) | |
| download | articles-0fe50a13af3d4a5360e065e6d99f2db397b98a6f.tar.gz articles-0fe50a13af3d4a5360e065e6d99f2db397b98a6f.tar.bz2 articles-0fe50a13af3d4a5360e065e6d99f2db397b98a6f.zip | |
use gBitUser when gContent isn't loaded yet
Diffstat (limited to 'articles_rss.php')
| -rw-r--r-- | articles_rss.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/articles_rss.php b/articles_rss.php index 0e36b13..0222b01 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.20 2007/07/06 16:37:22 squareing Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_articles/articles_rss.php,v 1.21 2007/07/06 16:48:08 squareing Exp $ * @package article * @subpackage functions */ @@ -21,7 +21,7 @@ $rss->title = $gBitSystem->getConfig( 'articles_rss_title', $gBitSystem->getConf $rss->description = $gBitSystem->getConfig( 'articles_rss_description', $gBitSystem->getConfig( 'site_title' ).' - '.tra( 'RSS Feed' ) ); // check permission to view articles -if( !$gContent->hasUserPermission( 'p_articles_read' ) ) { +if( !$gBitUser->hasPermission( 'p_articles_read' ) ) { require_once( RSS_PKG_PATH."rss_error.php" ); } else { // check if we want to use the cache file |
