From 966c67f92d14beaf7f6a2ba3386a8e6953cf9eb3 Mon Sep 17 00:00:00 2001 From: Wesley Miaw Date: Sun, 30 Oct 2005 01:23:48 +0000 Subject: Removed re-definition of the $default_path. It does not always work correctly, and you should be using the $default_path defined in config.inc.php I think. --- rss/rss.php | 3 --- 1 file changed, 3 deletions(-) (limited to 'rss') diff --git a/rss/rss.php b/rss/rss.php index 4ed6ee9..37dd182 100644 --- a/rss/rss.php +++ b/rss/rss.php @@ -15,9 +15,6 @@ if ($enable_rss != 'yes') { die ("RSS feeds are not enabled on this site."); } -$default_path = 'http://'.$HTTP_SERVER_VARS['SERVER_NAME'].':'.$HTTP_SERVER_VARS['SERVER_PORT'].substr($HTTP_SERVER_VARS['PHP_SELF'],0,strpos($HTTP_SERVER_VARS['PHP_SELF'],'/rss/')); - - //set the range of days to return based on the view chosen $rssview = $_GET['rssview']; -- cgit v1.2.3