diff options
author | jwangen <jwangen> | 2002-10-05 07:59:17 +0000 |
---|---|---|
committer | jwangen <jwangen> | 2002-10-05 07:59:17 +0000 |
commit | c133fe953c5b9e6312c78e86945eb3d8027f1c4c (patch) | |
tree | 0c12061ec477f6667cbe2b7a9201bc1452aedf3c /functions/init.inc.php | |
parent | 3ec59da61107defb918544a23f948e287abb0a82 (diff) | |
download | phpicalendar-c133fe953c5b9e6312c78e86945eb3d8027f1c4c.tar.gz phpicalendar-c133fe953c5b9e6312c78e86945eb3d8027f1c4c.tar.bz2 phpicalendar-c133fe953c5b9e6312c78e86945eb3d8027f1c4c.zip |
modified parser to fix october bug
Diffstat (limited to 'functions/init.inc.php')
-rw-r--r-- | functions/init.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/init.inc.php b/functions/init.inc.php index 50b4298..d0a70db 100644 --- a/functions/init.inc.php +++ b/functions/init.inc.php @@ -71,7 +71,7 @@ if ($is_webcal) { if (!isset($filename)) { $filename = $calendar_path.'/'.$cal_filename.'.ics'; if (!file_exists($filename)) { - $dir_handle = @opendir($calendar_path) or die(error($error_path_lang, $calendar_path)); + $dir_handle = @opendir($calendar_path) or die(error(sprintf($error_path_lang, $calendar_path), $cal_filename)); while ($file = readdir($dir_handle)) { if (substr($file, -4) == '.ics') { $cal = urlencode(substr($file, 0, -4)); |