summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-12-09 23:42:07 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-12-09 23:42:07 +0000
commit175729b40a8aea7734f9fe475eb2899acf0b0e2c (patch)
tree2b0c1b64bb0adbb18ef462b7dda49619c054efa5 /index.php
parent86e7b6e5940f0909b6900eed73c0cb252ecdc5b4 (diff)
downloadrss-175729b40a8aea7734f9fe475eb2899acf0b0e2c.tar.gz
rss-175729b40a8aea7734f9fe475eb2899acf0b0e2c.tar.bz2
rss-175729b40a8aea7734f9fe475eb2899acf0b0e2c.zip
do some generic rss cleanup and actually make use of the default rss feed type setting
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 5c4c93d..b146b73 100644
--- a/index.php
+++ b/index.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_rss/index.php,v 1.3 2006/07/17 09:56:03 nickpalmer Exp $
+ * $Header: /cvsroot/bitweaver/_bit_rss/index.php,v 1.4 2006/12/09 23:42:07 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.3 2006/07/17 09:56:03 nickpalmer Exp $
+ * $Id: index.php,v 1.4 2006/12/09 23:42:07 squareing Exp $
* @package pigeonholes
* @subpackage functions
*/
@@ -23,7 +23,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' ) ) {
- $pkgs[$pkg] = $pkg;
+ $pkgs[$pkg] = ( $gBitSystem->isFeatureActive( $pkg."_rss_title" ) ? $gBitSystem->getConfig( $pkg."_rss_title" ) : $pkg );
}
}
$gBitSmarty->assign( "pkgs", $pkgs );