Update of /cvsroot/phpicalendar/phpicalendar/functions
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10860/phpicalendarx/functions
Modified Files:
calendar_functions.php
Log Message:
fix url change webcal to http to get cal name
Index: calendar_functions.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/functions/calendar_functions.php,v
retrieving revision 1.23
retrieving revision 1.25
diff -C2 -d -r1.23 -r1.25
*** calendar_functions.php 14 Aug 2006 03:40:37 -0000 1.23
--- calendar_functions.php 11 Nov 2006 20:25:36 -0000 1.25
***************
*** 220,223 ****
--- 220,225 ----
}else{
# pull the name from the $cal_tmp file
+ $cal_tmp = str_replace('webcal://','http://',$cal_tmp);
+
$ifile = @fopen($cal_tmp, "r");
if ($ifile == FALSE) exit(error($lang['l_error_cantopen'], $cal_tmp));
|