[Fusionforge-commits] r15752 - branches/Branch_5_2/src/www/export

Olivier Meunier musicoliv at fusionforge.org
Mon Jun 11 15:52:02 CEST 2012


Author: musicoliv
Date: 2012-06-11 15:52:01 +0200 (Mon, 11 Jun 2012)
New Revision: 15752

Modified:
   branches/Branch_5_2/src/www/export/rss_utils.inc
Log:
Use forge_get_config to access config parameters

Modified: branches/Branch_5_2/src/www/export/rss_utils.inc
===================================================================
--- branches/Branch_5_2/src/www/export/rss_utils.inc	2012-06-11 13:16:28 UTC (rev 15751)
+++ branches/Branch_5_2/src/www/export/rss_utils.inc	2012-06-11 13:52:01 UTC (rev 15752)
@@ -47,9 +47,9 @@
 	print "  <copyright>Copyright ".date("Y")." ".forge_get_config ('forge_name')."</copyright>\n";
 	print "  <pubDate>".rss_date(time())."</pubDate>\n";
 	print "  <description>$desription</description>\n";
-	print "  <link>http://".$GLOBALS['sys_default_domain']."/</link>\n";
+	print "  <link>http://".forge_get_config ('web_host')."/</link>\n";
 	print "  <title>$title</title>\n";
-	print "  <webMaster>".$GLOBALS['sys_admin_email']."</webMaster>\n";
+	print "  <webMaster>".forge_get_config ('admin_email')."</webMaster>\n";
 	print "  <language>en-us</language>\n";
 
 	// item outputs




More information about the Fusionforge-commits mailing list