From: Wesley M. <we...@we...> - 2005-11-02 06:49:27
|
Hi Jim, > I'm also not getting the multiple calendar selector to work if the > calendars are in a directory specified by cpath. Ah. Looks like this is the offending code from init.inc.php. if($_REQUEST['cpath']){ $cpath = $_REQUEST['cpath']; $calendar_path .= "/$cpath"; $tmp_dir .= "/$cpath"; } Seems to me, you shouldn't blindly tack on "/$cpath" because that allows you to point PHP iCalendar at a root directory, if $calendar_path is the default '' in config.inc.php. Is that the reason you aren't finding your calendars? I also have questions as to why there's a bunch of http/https manipulation going on, and blacklisting is checked for in init.inc.php. Maybe I'm the one who put blacklisting checks into there, but I it should get moved into availableCalendars() inside calendar_functions.php. BTW - With the recursive flag turned on, you don't need to use a cpath to find your calendars anymore. But cpath should still be used to perform more restrictive calendar searches, and if a recursive search might be too large. Later, -- Wesley Miaw we...@we... |