summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@pardus.de>2010-05-16 06:41:01 (GMT)
committerGunnar Wrobel <wrobel@pardus.de>2010-05-16 06:41:01 (GMT)
commit2c3ca22fd5d29d6bbb3ce3f97a7cf3cf16fe75c7 (patch)
tree46d83f16d76d45e5a8418912a8f6fb15184c9428
parent689fbee0d205408064b31e8fad2db34548d3a4ea (diff)
downloadkolab-conf-2c3ca22fd5d29d6bbb3ce3f97a7cf3cf16fe75c7.tar.gz
Prepare moving the template into the corresponding package (the dist_conf rewriting is not necessary anymore).
-rw-r--r--conf/templates/freebusy.conf.template.in26
1 files changed, 20 insertions, 6 deletions
diff --git a/conf/templates/freebusy.conf.template.in b/conf/templates/freebusy.conf.template.in
index 5406554..1c98f22 100644
--- a/conf/templates/freebusy.conf.template.in
+++ b/conf/templates/freebusy.conf.template.in
@@ -1,7 +1,7 @@
KOLAB_META_START
-TARGET=@freebusy_confdir@/config.php
+TARGET=@@@freebusy_confdir@@@/config.php
PERMISSIONS=0640
-OWNERSHIP=@freebusy_usr@:@freebusy_grp@
+OWNERSHIP=@@@freebusy_usr@@@:@@@freebusy_grp@@@
KOLAB_META_END
<?php
@@@warning@@@
@@ -45,13 +45,13 @@ $conf = array();
/* Horde::Log configuration */
$conf['log']['enabled'] = true;
$conf['log']['priority'] = PEAR_LOG_DEBUG; // Leave this on DEBUG for now. We just restructured the package...
-$conf['log']['type'] = '@freebusy_log_type@';
-$conf['log']['name'] = '@freebusy_log_name@';
+$conf['log']['type'] = '@@@freebusy_log_type@@@';
+$conf['log']['name'] = '@@@freebusy_log_name@@@';
$conf['log']['ident'] = 'Kolab Free/Busy';
$conf['log']['params']['append'] = true;
/* PHP error logging */
-ini_set('error_log', '@freebusy_logdir@/php-error.log');
+ini_set('error_log', '@@@freebusy_logdir@@@/php-error.log');
/* Horde::Kolab::LDAP configuration */
$conf['kolab']['ldap']['server'] = '@@@ldap_uri@@@';
@@ -129,7 +129,7 @@ $conf['kolab']['freebusy']['server'] = 'https://@@@fqdnhostname@@@/freebusy';
$conf['fb']['email_domain'] = '@@@fqdnhostname@@@';
/* Location of the cache files */
-$conf['fb']['cache_dir'] = '@freebusy_cachedir@';
+$conf['fb']['cache_dir'] = '@@@freebusy_cachedir@@@';
/* What db type to use for the freebusy caches */
$conf['fb']['dbformat'] = 'db4';
@@ -156,6 +156,20 @@ $conf['fb']['send_content_disposition'] = false;
*/
$conf['fb']['use_acls'] = true;
+/* The resulting vCalendar file is being cached. The following setting
+ * determines how many seconds it will be delivered without checking if
+ * the contents of the file might have changed. A negative setting disables
+ * caching (which is currently required for the resource management to work).
+ */
+$conf['fb']['vcal_cache']['min_age'] = -1;
+
+/* The resulting vCalendar file is being cached. The following setting
+ * determines after how many seconds it will be considered too old for
+ * delivery and a refresh of its contents will be enforced.
+ */
+$conf['fb']['vcal_cache']['max_age'] = 259200;
+
+
/* Are there remote servers on which users have additional (shared)
* folders? In that case free/busy information should also be fetched
* from these servers.