From: <ja...@us...> - 2006-04-18 03:22:17
|
Update of /cvsroot/phpicalendar/phpicalendar In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12568 Modified Files: caldav.php Log Message: * Moved iCalendar parsing function into it's own class, complete with offsets support * Fixed bug with $depth < 'infinity' * TODO If this parser works & has all necessary features, add documentation Index: caldav.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/caldav.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** caldav.php 14 Apr 2006 02:50:09 -0000 1.3 --- caldav.php 18 Apr 2006 03:22:12 -0000 1.4 *************** *** 169,173 **** $file['props'][] = $this->mkprop('resourcetype', 'collection'); ! if ($depth < $options['depth']) { $handle = opendir($absolutePath); if (!$handle) { --- 169,174 ---- $file['props'][] = $this->mkprop('resourcetype', 'collection'); ! if ($depth < $options['depth'] || ! $options['depth'] == 'infinity') { $handle = opendir($absolutePath); if (!$handle) { *************** *** 231,235 **** $file['props'][] = $this->mkprop('resourcetype', 'collection'); ! if ($depth < $options['depth']) { $handle = opendir($absolutePath); if (!$handle) { --- 232,237 ---- $file['props'][] = $this->mkprop('resourcetype', 'collection'); ! if ($depth < $options['depth'] || ! $options['depth'] == 'infinity') { $handle = opendir($absolutePath); if (!$handle) { |