<?php
/**
 * @package Flatnux_module_news
 * @author Alessandro Vernassa <speleoalex@gmail.com>
 * @copyright Copyright (c) 2011
 * @license http://opensource.org/licenses/gpl-license.php GNU General Public License
 *
 */
defined('_FNEXEC') or die('Restricted access');
global $_FN;
$config = FN_LoadConfig("modules/news/config.php");
if (file_exists("" . $_FN['datadir'] . "/rss/{$config['tablename']}/{$_FN['lang']}/backend.xml"))
{
	$_FN['section_header_footer'] .= "\n\t<link rel=\"alternate\" type=\"application/rss+xml\" title=\"{$_FN['sitename']}\" href=\"{$_FN['siteurl']}" . "" . $_FN['datadir'] . "/rss/{$config['tablename']}/{$_FN['lang']}/backend.xml\" />\n";
	$_FN['rss_link'] = $_FN['siteurl'].$_FN['datadir'] . "/rss/{$config['tablename']}/{$_FN['lang']}/backend.xml";
}


?>
