diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-05-15 16:36:11 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-05-15 16:36:11 +0100 |
| commit | ba4c16d5bcd56bdbe760b2f6ad8b32e293ff04a8 (patch) | |
| tree | ab0bdfd1261ef21d0ec121e6e8a6bd7a39b876eb /articles_rss.php | |
| parent | 7f48403ad33163b70174fad87c2cdeb3efd7de7f (diff) | |
| download | articles-ba4c16d5bcd56bdbe760b2f6ad8b32e293ff04a8.tar.gz articles-ba4c16d5bcd56bdbe760b2f6ad8b32e293ff04a8.tar.bz2 articles-ba4c16d5bcd56bdbe760b2f6ad8b32e293ff04a8.zip | |
Namespace fix
Diffstat (limited to 'articles_rss.php')
| -rwxr-xr-x | articles_rss.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/articles_rss.php b/articles_rss.php index 02f796e..f7a3799 100755 --- a/articles_rss.php +++ b/articles_rss.php @@ -17,11 +17,12 @@ $gBitSystem->verifyPackage( 'rss' ); $gBitSystem->verifyFeature( 'articles_rss' ); use Bitweaver\Articles\BitArticle; +use Bitweaver\KernelTools; require_once( RSS_PKG_INCLUDE_PATH.'rss_inc.php' ); -$rss->title = $gBitSystem->getConfig( 'articles_rss_title', $gBitSystem->getConfig( 'site_title' ).' - '.tra( 'Articles' ) ); -$rss->description = $gBitSystem->getConfig( 'articles_rss_description', $gBitSystem->getConfig( 'site_title' ).' - '.tra( 'RSS Feed' ) ); +$rss->title = $gBitSystem->getConfig( 'articles_rss_title', $gBitSystem->getConfig( 'site_title' ).' - '.KernelTools::tra( 'Articles' ) ); +$rss->description = $gBitSystem->getConfig( 'articles_rss_description', $gBitSystem->getConfig( 'site_title' ).' - '.KernelTools::tra( 'RSS Feed' ) ); // check permission to view articles if( !$gBitUser->hasPermission( 'p_articles_read' ) ) { |
