diff options
author | Jim Hu <jimhu@users.sourceforge.net> | 2007-12-05 23:56:40 +0000 |
---|---|---|
committer | Jim Hu <jimhu@users.sourceforge.net> | 2007-12-05 23:56:40 +0000 |
commit | 1c7998281489f86ca209237b8f45e067fa9a674d (patch) | |
tree | de85621dc2df27ad99abd49e716713afa7b380d4 /functions | |
parent | bb072a9bb17420eeda5e7f24e4823904e6892b4c (diff) | |
download | phpicalendar-1c7998281489f86ca209237b8f45e067fa9a674d.tar.gz phpicalendar-1c7998281489f86ca209237b8f45e067fa9a674d.tar.bz2 phpicalendar-1c7998281489f86ca209237b8f45e067fa9a674d.zip |
fix path bug for inclusion of end_vevent.php
Diffstat (limited to 'functions')
-rw-r--r-- | functions/ical_parser.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/functions/ical_parser.php b/functions/ical_parser.php index 0cbe6d8..42e576a 100644 --- a/functions/ical_parser.php +++ b/functions/ical_parser.php @@ -171,8 +171,7 @@ foreach ($cal_filelist as $cal_key=>$filename) { break; case 'END:VEVENT': - include "functions/end_vevent.php"; - + include BASE."functions/end_vevent.php"; break; case 'END:VTODO': if ((!$vtodo_priority) && ($status == 'COMPLETED')) { @@ -193,7 +192,7 @@ foreach ($cal_filelist as $cal_key=>$filename) { $description = '**CONFIDENTIAL**'; } } - + $master_array['-2']["$vtodo_sort"]["$uid"] = array ('start_date' => $start_date, 'start_time' => $start_time, 'vtodo_text' => $summary, 'due_date'=> $due_date, 'due_time'=> $due_time, 'completed_date' => $completed_date, 'completed_time' => $completed_time, 'priority' => $vtodo_priority, 'status' => $status, 'class' => $class, 'categories' => $vtodo_categories, 'description' => $description, 'calname' => $actual_calname); unset ($start_date, $start_time, $due_date, $due_time, $completed_date, $completed_time, $vtodo_priority, $status, $class, $vtodo_categories, $summary, $description); $vtodo_set = FALSE; |