mirror of
				https://github.com/mail-in-a-box/mailinabox.git
				synced 2025-10-24 17:50:54 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			32 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| /***********************************************
 | |
| * File      :   config.php
 | |
| * Project   :   Z-Push
 | |
| * Descr     :   CardDAV backend configuration file
 | |
| ************************************************/
 | |
| 
 | |
| 
 | |
| define('CARDDAV_PROTOCOL', 'NC_PROTO'); /* http or https */
 | |
| define('CARDDAV_SERVER', 'NC_HOST');
 | |
| define('CARDDAV_PORT', 'NC_PORT');
 | |
| define('CARDDAV_PATH', 'NC_PREFIX/remote.php/dav/addressbooks/users/%u/');
 | |
| define('CARDDAV_DEFAULT_PATH', 'NC_PREFIX/remote.php/dav/addressbooks/users/%u/contacts/'); /* subdirectory of the main path */
 | |
| define('CARDDAV_GAL_PATH', ''); /* readonly, searchable, not syncd */
 | |
| define('CARDDAV_GAL_MIN_LENGTH', 5);
 | |
| define('CARDDAV_CONTACTS_FOLDER_NAME', '%u Addressbook');
 | |
| define('CARDDAV_SUPPORTS_SYNC', false);
 | |
| 
 | |
| // If the CardDAV server supports the FN attribute for searches
 | |
| // DAViCal supports it, but SabreDav, Nextcloud 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
 | |
| define('CARDDAV_URL_VCARD_EXTENSION', '.vcf');
 | |
| 
 | |
| ?>
 |