aboutsummaryrefslogtreecommitdiffstats
path: root/rss
diff options
context:
space:
mode:
authorWesley Miaw <josuah@users.sourceforge.net>2005-10-30 01:23:48 +0000
committerWesley Miaw <josuah@users.sourceforge.net>2005-10-30 01:23:48 +0000
commit966c67f92d14beaf7f6a2ba3386a8e6953cf9eb3 (patch)
tree4c71ed7f20ccc02e9aea4fe8f381d6724e9507e2 /rss
parent881ed532241f0350e0a377067333a4fb4ef749b0 (diff)
downloadphpicalendar-966c67f92d14beaf7f6a2ba3386a8e6953cf9eb3.tar.gz
phpicalendar-966c67f92d14beaf7f6a2ba3386a8e6953cf9eb3.tar.bz2
phpicalendar-966c67f92d14beaf7f6a2ba3386a8e6953cf9eb3.zip
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.
Diffstat (limited to 'rss')
-rw-r--r--rss/rss.php3
1 files changed, 0 insertions, 3 deletions
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'];

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