2014-08-11 17:42:52 +00:00
|
|
|
<?php
|
|
|
|
/***********************************************
|
|
|
|
* File : config.php
|
|
|
|
* Project : Z-Push
|
|
|
|
* Descr : CardDAV backend configuration file
|
|
|
|
************************************************/
|
|
|
|
|
|
|
|
|
2014-08-12 11:12:10 +00:00
|
|
|
define('CARDDAV_PROTOCOL', 'https'); /* http or https */
|
2014-08-11 17:42:52 +00:00
|
|
|
define('CARDDAV_SERVER', 'localhost');
|
|
|
|
define('CARDDAV_PORT', '443');
|
2014-08-12 11:36:40 +00:00
|
|
|
define('CARDDAV_PATH', '/carddav/addressbooks/%u/');
|
|
|
|
define('CARDDAV_DEFAULT_PATH', '/carddav/addressbooks/%u/contacts/'); /* subdirectory of the main path */
|
|
|
|
define('CARDDAV_GAL_PATH', ''); /* readonly, searchable, not syncd */
|
2014-08-11 17:42:52 +00:00
|
|
|
define('CARDDAV_GAL_MIN_LENGTH', 5);
|
|
|
|
define('CARDDAV_CONTACTS_FOLDER_NAME', '%u Addressbook');
|
2014-09-10 19:22:56 +00:00
|
|
|
define('CARDDAV_SUPPORTS_SYNC', true);
|
2014-08-11 17:42:52 +00:00
|
|
|
|
|
|
|
// If the CardDAV server supports the FN attribute for searches
|
|
|
|
// DAViCal supports it, but SabreDav, Owncloud and SOGo don't
|
|
|
|
// Setting this to true will search by FN. If false will search by sn, givenName and email
|
|
|
|
// It's safe to leave it as false
|
|
|
|
define('CARDDAV_SUPPORTS_FN_SEARCH', false);
|
|
|
|
|
|
|
|
|
|
|
|
// If your carddav server needs to use file extension to recover a vcard.
|
|
|
|
// Davical needs it
|
|
|
|
// SOGo official demo online needs it, but some SOGo installation don't need it, so test it
|
2014-08-11 21:43:16 +00:00
|
|
|
define('CARDDAV_URL_VCARD_EXTENSION', '.vcf');
|
|
|
|
|
2014-08-12 11:12:10 +00:00
|
|
|
?>
|