summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-12-09 23:50:29 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-12-09 23:50:29 +0000
commit71f7dcef219df9983a3c6b4ab5ec7f326043f055 (patch)
tree96ab2a3d62a861a84be153ef4909419a5febc235 /index.php
parent175729b40a8aea7734f9fe475eb2899acf0b0e2c (diff)
downloadrss-71f7dcef219df9983a3c6b4ab5ec7f326043f055.tar.gz
rss-71f7dcef219df9983a3c6b4ab5ec7f326043f055.tar.bz2
rss-71f7dcef219df9983a3c6b4ab5ec7f326043f055.zip
only display valid feeds
Diffstat (limited to 'index.php')
-rw-r--r--index.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/index.php b/index.php
index b146b73..ca96605 100644
--- a/index.php
+++ b/index.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_rss/index.php,v 1.4 2006/12/09 23:42:07 squareing Exp $
+ * $Header: /cvsroot/bitweaver/_bit_rss/index.php,v 1.5 2006/12/09 23:50:29 squareing Exp $
*
* Copyright ( c ) 2004 bitweaver.org
* Copyright ( c ) 2003 tikwiki.org
@@ -8,7 +8,7 @@
* All Rights Reserved. See copyright.txt for details and a complete list of authors.
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details
*
- * $Id: index.php,v 1.4 2006/12/09 23:42:07 squareing Exp $
+ * $Id: index.php,v 1.5 2006/12/09 23:50:29 squareing Exp $
* @package pigeonholes
* @subpackage functions
*/
@@ -22,7 +22,7 @@ $gBitSystem->verifyPackage( 'rss' );
foreach( $gBitSystem->mPackages as $pkg => $pkgInfo ) {
// Install may be chmod 000 if user followed directions
- if( $pkg != 'install' && is_file( $pkgInfo['path'].$pkg.'_rss.php' ) ) {
+ if( $pkg != 'install' && is_file( $pkgInfo['path'].$pkg.'_rss.php' ) && $gBitSystem->isFeatureActive( $pkg."_rss" ) ) {
$pkgs[$pkg] = ( $gBitSystem->isFeatureActive( $pkg."_rss_title" ) ? $gBitSystem->getConfig( $pkg."_rss_title" ) : $pkg );
}
}