|
From: <par...@us...> - 2010-12-03 20:20:28
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv10636/functions Modified Files: Tag: version-2-4 ical_parser.php Log Message: Remote web calendars should be copied to the temp directory from configuration, not the system temp. Index: ical_parser.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/ical_parser.php,v retrieving revision 1.265 retrieving revision 1.265.4.1 diff -C2 -d -r1.265 -r1.265.4.1 *** ical_parser.php 12 May 2010 19:32:37 -0000 1.265 --- ical_parser.php 3 Dec 2010 20:20:20 -0000 1.265.4.1 *************** *** 105,109 **** * See: http://phpicalendar.net/forums/viewtopic.php?f=45&t=4140#p14451 */ ! $filename = tempnam(sys_get_temp_dir(), 'ICS'); if (copy($cal_httpPrefix, $filename) === FALSE) { exit(error($lang['l_copy_error'], $cal_httpPrefix)); --- 105,109 ---- * See: http://phpicalendar.net/forums/viewtopic.php?f=45&t=4140#p14451 */ ! $filename = tempnam($phpiCal_config->tmp_dir, 'ICS'); if (copy($cal_httpPrefix, $filename) === FALSE) { exit(error($lang['l_copy_error'], $cal_httpPrefix)); |