From 323c110cb7787a09c175594001e2ba16674d9c50 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Mon, 24 Nov 2003 01:29:17 +0000 Subject: Made some changed to user:pass system to be more auto configuring, and now cookies work as well, as well as fixing subscribe and download links. --- config.inc.php | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'config.inc.php') diff --git a/config.inc.php b/config.inc.php index 729da3e..5516444 100644 --- a/config.inc.php +++ b/config.inc.php @@ -20,16 +20,13 @@ $tomorrows_events_lines = '1'; // Number of lines to wrap each event title in $allday_week_lines = '1'; // Number of lines to wrap each event title in all-day events in week view, 0 means display all lines. $week_events_lines = '1'; // Number of lines to wrap each event title in the 'Tommorrow's events' box, 0 means display all lines. $timezone = ''; // Set timezone. Read TIMEZONES file for more information -$default_path = 'http://www.example.com/phpicalendar'; // The HTTP URL to the PHP iCalendar directory, ie. http://www.example.com/phpicalendar $tmp_dir = '/tmp'; // The temporary directory on your system (/tmp is fine for UNIXes including Mac OS X) $calendar_path = ''; // Leave this blank on most installs, place your full path to calendars if they are outside the phpicalendar folder. $second_offset = '0'; // The time in seconds between your time and your server's time. -$bleed_time = '0400'; // This allows events past midnight to just be displayed on the starting date, only good up to 24 hours. Range from '0000' to '2359' - -// Advanced settings for custom installs, cookies, etc. -// In most cases these will not need to be set. +$bleed_time = ''; // This allows events past midnight to just be displayed on the starting date, only good up to 24 hours. Range from '0000' to '2359'. Is automatically set to $day_start if left blank. $cookie_uri = ''; // The HTTP URL to the PHP iCalendar directory, ie. http://www.example.com/phpicalendar $download_uri = ''; // The HTTP URL to your calendars directory, ie. http://www.example.com/phpicalendar/calendars +$default_path = 'http://www.example.com/phpicalendar'; // The HTTP URL to the PHP iCalendar directory, ie. http://www.example.com/phpicalendar // Yes/No questions --- 'yes' means Yes, anything else means no. 'yes' must be lowercase. $save_parsed_cals = 'no'; // Recommended 'yes'. Saves a copy of the cal in /tmp after it's been parsed. Improves performence. @@ -75,10 +72,10 @@ $locked_cals[] = ''; // exact calendar filename without the .ics suffix. $locked_cals[] = ''; // // add more lines as necessary -$locked_map[] = ''; // Map username:password accounts to locked calendars that should be -$locked_map[] = ''; // unlocked if logged in. Calendar names should be the same as what is -$locked_map[] = ''; // listed in the $locked_cals, again without the .ics suffix. -$locked_map[] = ''; // Example: $locked_map['username:password'] = array('Locked1', 'Locked2'); +$locked_map['user1:pass'] = array(''); // Map username:password accounts to locked calendars that should be +$locked_map['user2:pass'] = array(''); // unlocked if logged in. Calendar names should be the same as what is +$locked_map['user3:pass'] = array(''); // listed in the $locked_cals, again without the .ics suffix. +$locked_map['user4:pass'] = array(''); // Example: $locked_map['username:password'] = array('Locked1', 'Locked2'); // add more lines as necessary -- cgit v1.2.3