Skip to content

Commit 06697fd

Browse files
author
filip
committed
Fixed not used and prepared config variable $misc_config['dashboard_atom_url'] in dashboard news feed.
1 parent 1985cb3 commit 06697fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

interface/web/dashboard/lib/custom_menu.inc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
if(!isset($_SESSION['s']['rss_news'])) {
4242

43-
$app->simplepie->set_feed_url('http://www.ispconfig.org/atom');
43+
$app->simplepie->set_feed_url($misc_config['dashboard_atom_url']);
4444
$app->simplepie->enable_cache(false);
4545
$app->simplepie->init();
4646
$items = $app->simplepie->get_items();
@@ -73,4 +73,4 @@
7373

7474
$app->tpl->setLoop('news',$rows);
7575

76-
?>
76+
?>

0 commit comments

Comments
 (0)