Update of /cvsroot/phpicalendar/phpicalendar/functions
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2998/functions
Modified Files:
ical_parser.php init.inc.php
Log Message:
Fixes.
Index: ical_parser.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/functions/ical_parser.php,v
retrieving revision 1.179
retrieving revision 1.180
diff -C2 -d -r1.179 -r1.180
*** ical_parser.php 24 Aug 2004 23:14:59 -0000 1.179
--- ical_parser.php 2 Sep 2004 18:57:42 -0000 1.180
***************
*** 254,258 ****
}
}
! if (isset($start_unixtime,$end_unixtime) && date('d',$start_unixtime) != date('d',$end_unixtime)) {
$spans_day = true;
$bleed_check = (($start_unixtime - $end_unixtime) < (60*60*24)) ? '-1' : '0';
--- 254,258 ----
}
}
! if (isset($start_unixtime,$end_unixtime) && date('Ymd',$start_unixtime) != date('Ymd',$end_unixtime)) {
$spans_day = true;
$bleed_check = (($start_unixtime - $end_unixtime) < (60*60*24)) ? '-1' : '0';
Index: init.inc.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/functions/init.inc.php,v
retrieving revision 1.68
retrieving revision 1.69
diff -C2 -d -r1.68 -r1.69
*** init.inc.php 2 Sep 2004 18:44:43 -0000 1.68
--- init.inc.php 2 Sep 2004 18:57:43 -0000 1.69
***************
*** 71,78 ****
if ($calendar_path == '') {
! $calendar_path = 'calendars';
! $calendar_path_orig = $calendar_path;
! $calendar_path = BASE.$calendar_path;
}
$is_webcal = FALSE;
--- 71,77 ----
if ($calendar_path == '') {
! $calendar_path = 'calendars';
}
+ $calendar_path = BASE.$calendar_path;
$is_webcal = FALSE;
|