Update of /cvsroot/phpicalendar/phpicalendar/functions
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv16152/functions
Modified Files:
calendar_functions.php ical_parser.php
Log Message:
misc changes for 2.31
Index: calendar_functions.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/functions/calendar_functions.php,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -d -r1.35 -r1.36
*** calendar_functions.php 31 Dec 2008 11:16:34 -0000 1.35
--- calendar_functions.php 26 Jan 2009 03:27:30 -0000 1.36
***************
*** 102,105 ****
--- 102,107 ----
// Remove any php files.
if (preg_match("/^.*\.php$/i", $file)) continue;
+ # remove publish log file
+ if ($file == 'publish_log.txt') continue;
// Make sure this is not a blacklisted calendar.
$cal_name = getCalendarName($file);
Index: ical_parser.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/functions/ical_parser.php,v
retrieving revision 1.242
retrieving revision 1.243
diff -C2 -d -r1.242 -r1.243
*** ical_parser.php 7 Jan 2009 21:11:39 -0000 1.242
--- ical_parser.php 26 Jan 2009 03:27:30 -0000 1.243
***************
*** 20,24 ****
$z=1;
$y=0;
! $webcal_mtime = time() - ($webcal_hours * 3600);
if (sizeof($master_array['-4']) == (sizeof($cal_filelist))) {
foreach ($master_array['-4'] as $temp_array) {
--- 20,24 ----
$z=1;
$y=0;
! $webcal_mtime = time() - ($phpiCal_config->webcal_hours * 3600);
if (sizeof($master_array['-4']) == (sizeof($cal_filelist))) {
foreach ($master_array['-4'] as $temp_array) {
|