From 006ad3f26038c4c97097003c44b7c7467e7bee28 Mon Sep 17 00:00:00 2001 From: Jim Hu Date: Sat, 20 Dec 2008 09:51:07 +0000 Subject: add comments to config.inc.php --- config.inc.php | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 config.inc.php (limited to 'config.inc.php') diff --git a/config.inc.php b/config.inc.php new file mode 100644 index 0000000..a7cc6b0 --- /dev/null +++ b/config.inc.php @@ -0,0 +1,48 @@ + '/Library/WebServer/Documents/phpicalendar/calendars', +# 'timezone' => 'US/Central', +# 'allow_admin' => 'yes', +# 'allow_login' => 'yes', +# 'allow_preferences' => 'yes', +# 'show_search' => 'yes', +# 'show_todos' => 'no', +# 'cookie_uri' => '' +); + +$blacklisted_cals[] = ''; // Fill in between the quotes the name of the calendars +$blacklisted_cals[] = ''; // you wish to 'blacklist' or that you don't want to show up in your calendar +$blacklisted_cals[] = ''; // list. This should be the exact calendar filename without .ics +$blacklisted_cals[] = ''; // the parser will *not* parse any cal that is in this list (it will not be Web accessible) +// add more lines as necessary + +$list_webcals[] = ''; // Fill in between the quotes exact URL of a calendar that you wish +$list_webcals[] = ''; // to show up in your calendar list. You must prefix the URL with http:// +$list_webcals[] = ''; // or webcal:// and the filename should contain the .ics suffix +$list_webcals[] = ''; // $allow_webcals does *not* need to be "yes" for these to show up and work +// add more lines as necessary + +#$more_webcals['cpath'][] = '' //add webcals that will show up only for a particular cpath. + +$locked_cals[] = ''; // Fill in-between the quotes the names of the calendars you wish to hide +$locked_cals[] = ''; // unless unlocked by a username/password login. This should be the +$locked_cals[] = ''; // exact calendar filename without the .ics suffix. +$locked_cals[] = ''; // +// add more lines as necessary + +$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 + +$apache_map['user1'] = array(''); // Map HTTP authenticated users to specific calendars. Users listed here and +$apache_map['user2'] = array(''); // authenticated via HTTP will not see the public calendars, and will not be +$apache_map['user3'] = array(''); // given any login/logout options. Calendar names not include the .ics suffix. +$apache_map['user4'] = array(''); // Example: $apache_map['username'] = array('Calendar1', 'Calendar2'); -- cgit v1.2.3