Update of /cvsroot/phpicalendar/phpicalendar/functions
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22222/functions
Modified Files:
ical_parser.php
Log Message:
check for webcal line 51.
Index: ical_parser.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/functions/ical_parser.php,v
retrieving revision 1.178
retrieving revision 1.179
diff -C2 -d -r1.178 -r1.179
*** ical_parser.php 12 Aug 2004 02:41:26 -0000 1.178
--- ical_parser.php 24 Aug 2004 23:14:59 -0000 1.179
***************
*** 49,53 ****
$fname = $master_array['-4'][$z]['filename'];
$wcalc = $master_array['-4'][$z]['webcal'];
! $realcal_mtime = filemtime($fname);
$webcal_mtime = strtotime("now -$webcal_hours hours");
if (($mtime == $realcal_mtime) && ($wcalc == 'no')) {
--- 49,53 ----
$fname = $master_array['-4'][$z]['filename'];
$wcalc = $master_array['-4'][$z]['webcal'];
! if ($wcalc == 'no') $realcal_mtime = filemtime($fname);
$webcal_mtime = strtotime("now -$webcal_hours hours");
if (($mtime == $realcal_mtime) && ($wcalc == 'no')) {
|