summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2014-10-14 07:31:50 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2014-10-14 07:31:50 (GMT)
commit2d729975897985ab2fcc9784a8352c90a185db27 (patch)
tree77a9b1d7a256b1a9fbbb49df6002284e41fa1505
parentba42ffe978d7a8bd09bc5b81b120ba0398dc7613 (diff)
downloadkolab-chwala-2d729975897985ab2fcc9784a8352c90a185db27.tar.gz
Describe Chwala configuration options
-rw-r--r--config/config.inc.php.dist51
1 files changed, 51 insertions, 0 deletions
diff --git a/config/config.inc.php.dist b/config/config.inc.php.dist
new file mode 100644
index 0000000..a26f4c4
--- /dev/null
+++ b/config/config.inc.php.dist
@@ -0,0 +1,51 @@
+<?php
+
+// This file contains Chwala configuration options.
+// Real config file must contain or include Roundcube Framework config.
+
+// ------------------------------------------------
+// Global settings
+// ------------------------------------------------
+
+// Main files source, backend driver which handles
+// authentication and configuration of Chwala
+// Note: Currently only 'kolab' is supported
+$config['fileapi_backend'] = 'kolab';
+
+// Enabled external storage drivers
+// Note: Currenty only 'seafile' is available
+$config['fileapi_drivers'] = array('seafile');
+
+// Pre-defined list of external storage sources.
+// Here admins can define sources which will be "mounted" into users folder tree
+/*
+$config['fileapi_sources'] = array(
+ 'Seafile' => array(
+ 'driver' => 'seafile',
+ 'host' => 'seacloud.cc',
+ // when username is set to '%u' current user name and password
+ // will be used to authenticate to this storage source
+ 'username' => '%u',
+ ),
+);
+*/
+
+// ------------------------------------------------
+// SeaFile driver settings
+// ------------------------------------------------
+
+// Enables SeaFile Web API conversation log
+$config['fileapi_seafile_debug'] = true;
+
+// Enables caching of some SeaFile information e.g. folders list
+// Note: 'db', 'apc' and 'memcache' are supported
+$config['fileapi_seafile_cache'] = 'db';
+
+// Expiration time of SeaFile cache entries
+$config['fileapi_seafile_cache_ttl'] = '7d';
+
+// Enables SSL certificates validation when connecting
+// with any SeaFile server
+$config['fileapi_seafile_ssl_verify_host'] = false;
+$config['fileapi_seafile_ssl_verify_peer'] = false;
+