aboutsummaryrefslogtreecommitdiffstats
path: root/rss/index.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2004-05-12 22:16:43 +0000
committerChad Little <clittle@users.sourceforge.net>2004-05-12 22:16:43 +0000
commit236716b5e4d286bc5a4bb2a411435f92cb2664b1 (patch)
treef7b7054e7b70644d497e28e38562a4ae2b959edd /rss/index.php
parent82eb571fa7e6cf8ea79bd4060974886a538f9d7c (diff)
downloadphpicalendar-236716b5e4d286bc5a4bb2a411435f92cb2664b1.tar.gz
phpicalendar-236716b5e4d286bc5a4bb2a411435f92cb2664b1.tar.bz2
phpicalendar-236716b5e4d286bc5a4bb2a411435f92cb2664b1.zip
Fixed server port.
Diffstat (limited to 'rss/index.php')
-rw-r--r--rss/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/rss/index.php b/rss/index.php
index fca8327..4724909 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'].substr($HTTP_SERVER_VARS['PHP_SELF'],0,strpos($HTTP_SERVER_VARS['PHP_SELF'], '/rss/'));
+$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/'));
$current_view = "rssindex";
$display_date = "$calendar_lang - RSS Info";

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