diff options
Diffstat (limited to 'articles_rss.php')
| -rw-r--r-- | articles_rss.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/articles_rss.php b/articles_rss.php index c1acbf9..ae3237d 100644 --- a/articles_rss.php +++ b/articles_rss.php @@ -10,7 +10,7 @@ */ // ensure that we use absolute URLs everywhere $_REQUEST['uri_mode'] = TRUE; -require_once( "../kernel/setup_inc.php" ); +require_once '../kernel/setup_inc.php'; $gBitSystem->verifyPackage( 'articles' ); $gBitSystem->verifyPackage( 'rss' ); @@ -53,7 +53,7 @@ if( !$gBitUser->hasPermission( 'p_articles_read' ) ) { $parseHash['data'] = preg_replace( LIBERTY_SPLIT_REGEX, "", $feed['data'] ); $item->description = $articles->parseData( $parseHash ); - $item->date = ( int )$feed['publish_date']; + $item->date = (int) $feed['publish_date']; $item->source = BIT_ROOT_URI; $item->author = $feed['author_name']; @@ -67,4 +67,3 @@ if( !$gBitUser->hasPermission( 'p_articles_read' ) ) { // finally we are ready to serve the data echo $rss->saveFeed( $rss_version_name, $cacheFile ); } -?> |
