From 4d43120be01f4681e38e56df91e6f0ef8500e2ed Mon Sep 17 00:00:00 2001 From: Chad Little Date: Thu, 2 Sep 2004 18:44:43 +0000 Subject: Updated to $_SERVER --- rss/rss.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rss/rss.php') diff --git a/rss/rss.php b/rss/rss.php index bc22fca..42a0eac 100644 --- a/rss/rss.php +++ b/rss/rss.php @@ -7,7 +7,7 @@ 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/')); +$default_path = 'http://'.$_SERVER['SERVER_NAME'].':'.$_SERVER['SERVER_PORT'].substr($_SERVER['PHP_SELF'],0,strpos($_SERVER['PHP_SELF'],'/rss/')); $start_week_time = strtotime(dateOfWeek($getdate, $week_start_day)); $end_week_time = $start_week_time + (6 * 25 * 60 * 60); $start_week = localizeDate($dateFormat_week, $start_week_time); -- cgit v1.2.3