aboutsummaryrefslogtreecommitdiffstats
path: root/rss
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2004-04-27 20:56:57 +0000
committerChad Little <clittle@users.sourceforge.net>2004-04-27 20:56:57 +0000
commited58e39da8e2c2044c414c10339318ab4cfc4969 (patch)
treecb2404d964ab65dad577e3fd42011ae257a0d18d /rss
parentb4b340d9ace7e412b9512b092deb3c42b4e16580 (diff)
downloadphpicalendar-ed58e39da8e2c2044c414c10339318ab4cfc4969.tar.gz
phpicalendar-ed58e39da8e2c2044c414c10339318ab4cfc4969.tar.bz2
phpicalendar-ed58e39da8e2c2044c414c10339318ab4cfc4969.zip
Fixed calendar path for filemtime
Diffstat (limited to 'rss')
-rw-r--r--rss/rss.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/rss/rss.php b/rss/rss.php
index 7459155..4564e14 100644
--- a/rss/rss.php
+++ b/rss/rss.php
@@ -18,7 +18,7 @@ $cal_displayname = str_replace("32", " ", $cal);
$events_week = 0;
// calculate a value for Last Modified and ETag
-$filemod = filemtime("../calendars/$cal.ics");
+$filemod = filemtime("$calendar_path/$cal.ics");
$filemodtime = date("r", $filemod);
//send relevant headers

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