aboutsummaryrefslogtreecommitdiffstats
path: root/rss
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2004-09-02 18:44:43 +0000
committerChad Little <clittle@users.sourceforge.net>2004-09-02 18:44:43 +0000
commit4d43120be01f4681e38e56df91e6f0ef8500e2ed (patch)
tree3dc315d9f432629506b14ccf9a07e6a358f85f23 /rss
parent88c00c20e642043675459659e7d3266fbc6fb1ec (diff)
downloadphpicalendar-4d43120be01f4681e38e56df91e6f0ef8500e2ed.tar.gz
phpicalendar-4d43120be01f4681e38e56df91e6f0ef8500e2ed.tar.bz2
phpicalendar-4d43120be01f4681e38e56df91e6f0ef8500e2ed.zip
Updated to $_SERVER
Diffstat (limited to 'rss')
-rw-r--r--rss/index.php2
-rw-r--r--rss/rss.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/rss/index.php b/rss/index.php
index b8649a1..fed55ea 100644
--- a/rss/index.php
+++ b/rss/index.php
@@ -4,7 +4,7 @@ define('BASE','../');
require_once(BASE.'functions/ical_parser.php');
require_once(BASE.'functions/calendar_functions.php');
-$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/'));
$current_view = "rssindex";
$display_date = "RSS Info";
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);

© 2014-2024 Faster IT GmbH | imprint | privacy policy