From 0bc96facfc2c2e021dde81984e6a67dbb836367f Mon Sep 17 00:00:00 2001 From: jwangen Date: Wed, 30 Oct 2002 05:03:47 +0000 Subject: updated search to support localization, added localization vars to english and japanese, updated rss files to find their own $default_path --- rss/index.php | 2 +- rss/rss.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'rss') diff --git a/rss/index.php b/rss/index.php index 8944232..341d44c 100644 --- a/rss/index.php +++ b/rss/index.php @@ -3,7 +3,7 @@ define('BASE','../'); $current_view = "rssindex"; include(BASE.'functions/ical_parser.php'); - +$default_path = 'http://'.$HTTP_SERVER_VARS['SERVER_NAME'].substr($HTTP_SERVER_VARS['PHP_SELF'],0,strpos($HTTP_SERVER_VARS['PHP_SELF'], '/rss/')); ?> diff --git a/rss/rss.php b/rss/rss.php index bdd8008..9efbdeb 100644 --- a/rss/rss.php +++ b/rss/rss.php @@ -2,6 +2,7 @@ define('BASE', '../'); include(BASE.'functions/ical_parser.php'); +$default_path = 'http://'.$HTTP_SERVER_VARS['SERVER_NAME'].substr($HTTP_SERVER_VARS['PHP_SELF'],0,strpos($HTTP_SERVER_VARS['PHP_SELF'], '/rss/')); $start_week_time = strtotime(dateOfWeek($getdate, $week_start_day)); $end_week_time = $start_week_time + (6 * 25 * 60 * 60); -- cgit v1.2.3