Skip to content
Snippets Groups Projects
Commit 06697fd2 authored by filip's avatar filip
Browse files

Fixed not used and prepared config variable $misc_config['dashboard_atom_url']...

Fixed not used and prepared config variable $misc_config['dashboard_atom_url'] in dashboard news feed.
parent 1985cb3e
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@ if($misc_config['dashboard_atom_url'] != '') {
if(!isset($_SESSION['s']['rss_news'])) {
$app->simplepie->set_feed_url('http://www.ispconfig.org/atom');
$app->simplepie->set_feed_url($misc_config['dashboard_atom_url']);
$app->simplepie->enable_cache(false);
$app->simplepie->init();
$items = $app->simplepie->get_items();
......@@ -73,4 +73,4 @@ if($misc_config['dashboard_atom_url'] != '') {
$app->tpl->setLoop('news',$rows);
?>
\ No newline at end of file
?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment