summaryrefslogtreecommitdiff
path: root/webmail/plugins/redundant_attachments/config.inc.php.dist
diff options
context:
space:
mode:
authorTristan Zur <tzur@web.web.ccwn.org>2014-03-27 22:27:47 +0100
committerTristan Zur <tzur@web.web.ccwn.org>2014-03-27 22:27:47 +0100
commitb62676ca5d3d6f6ba3f019ea3f99722e165a98d8 (patch)
tree86722cb80f07d4569f90088eeaea2fc2f6e2ef94 /webmail/plugins/redundant_attachments/config.inc.php.dist
Initial commit of intern.ccwn.org contentsHEADmaster
Diffstat (limited to 'webmail/plugins/redundant_attachments/config.inc.php.dist')
-rw-r--r--webmail/plugins/redundant_attachments/config.inc.php.dist13
1 files changed, 13 insertions, 0 deletions
diff --git a/webmail/plugins/redundant_attachments/config.inc.php.dist b/webmail/plugins/redundant_attachments/config.inc.php.dist
new file mode 100644
index 0000000..6c317ea
--- /dev/null
+++ b/webmail/plugins/redundant_attachments/config.inc.php.dist
@@ -0,0 +1,13 @@
+<?php
+
+// By default this plugin stores attachments in filesystem
+// and copies them into sql database.
+// In environments with replicated database it is possible
+// to use memcache as a fallback when write-master is unavailable.
+$rcmail_config['redundant_attachments_memcache'] = false;
+
+// When memcache is used, attachment data expires after
+// specied TTL time in seconds (max.2592000). Default is 12 hours.
+$rcmail_config['redundant_attachments_memcache_ttl'] = 12 * 60 * 60;
+
+?>