From 06697fd2ca0021a4dc543d266b47764e035c9644 Mon Sep 17 00:00:00 2001
From: filip <filip@ispconfig3>
Date: Thu, 30 Sep 2010 05:41:24 -0400
Subject: [PATCH] Fixed not used and prepared config variable $misc_config['dashboard_atom_url'] in dashboard news feed.

---
 interface/web/dashboard/lib/custom_menu.inc.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/interface/web/dashboard/lib/custom_menu.inc.php b/interface/web/dashboard/lib/custom_menu.inc.php
index e75fc75..0effc49 100644
--- a/interface/web/dashboard/lib/custom_menu.inc.php
+++ b/interface/web/dashboard/lib/custom_menu.inc.php
@@ -40,7 +40,7 @@
 
 	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 @@
 
 $app->tpl->setLoop('news',$rows);
 
-?>
\ No newline at end of file
+?>

--
Gitblit v1.9.1