Няма описание
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

usr_share_z-push_backend_caldav_config.php.j2 1.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <?php
  2. /***********************************************
  3. * File : config.php
  4. * Project : Z-Push
  5. * Descr : CalDAV backend configuration file
  6. *
  7. * Created : 27.11.2012
  8. *
  9. * Copyright 2012 - 2014 Jean-Louis Dupond
  10. *
  11. * Jean-Louis Dupond released this code as AGPLv3 here: https://github.com/dupondje/PHP-Push-2/issues/93
  12. *
  13. * This program is free software: you can redistribute it and/or modify
  14. * it under the terms of the GNU Affero General Public License, version 3,
  15. * as published by the Free Software Foundation.
  16. *
  17. * This program is distributed in the hope that it will be useful,
  18. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  19. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  20. * GNU Affero General Public License for more details.
  21. *
  22. * You should have received a copy of the GNU Affero General Public License
  23. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  24. *
  25. * Consult LICENSE file for details
  26. ************************************************/
  27. // ************************
  28. // BackendCalDAV settings
  29. // ************************
  30. // Server protocol: http or https
  31. define('CALDAV_PROTOCOL', 'https');
  32. // Server name
  33. define('CALDAV_SERVER', 'cloud.{{ domain }}');
  34. // Server port
  35. define('CALDAV_PORT', '443');
  36. // Path
  37. define('CALDAV_PATH', '/remote.php/dav/calendars/%u/');
  38. // Default CalDAV folder (calendar folder/principal). This will be marked as the default calendar in the mobile
  39. define('CALDAV_PERSONAL', 'personal');
  40. // If the CalDAV server supports the sync-collection operation
  41. // DAViCal, SOGo and SabreDav support it
  42. // SabreDav version must be at least 1.9.0, otherwise set this to false
  43. // Setting this to false will work with most servers, but it will be slower
  44. define('CALDAV_SUPPORTS_SYNC', true);
  45. // Maximum period to sync.
  46. // Some servers don't support more than 10 years so you will need to change this
  47. define('CALDAV_MAX_SYNC_PERIOD', 2147483647);