summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDavid Carter <dpc22@cam.ac.uk>2013-08-30 09:22:24 +0100
committerDavid Carter <dpc22@cam.ac.uk>2013-08-30 09:22:24 +0100
commitde8687f9f11d49d36b322af72f644f7c5a232b9f (patch)
treee8087db57c63ecc6882c0f382b80020e7387fd3a /config
parent0c2ffb57a11f4a417ed2d48eea882d92c7ded3ca (diff)
Add temp_dir_ttl configuration option to control expiry time in
program/lib/Roundcube/rcube.php : gc_temp(). Default is 48 hours. Define hard wired minimum of 6 hours.
Diffstat (limited to 'config')
-rw-r--r--config/defaults.inc.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/defaults.inc.php b/config/defaults.inc.php
index 54d0b1d27..512455275 100644
--- a/config/defaults.inc.php
+++ b/config/defaults.inc.php
@@ -257,6 +257,10 @@ $config['log_dir'] = 'logs/';
// use this folder to store temp files (must be writeable for apache user)
$config['temp_dir'] = 'temp/';
+// expire files in temp_dir after 48 hours
+// possible units: s, m, h, d, w
+$config['temp_dir_ttl'] = '48h';
+
// enforce connections over https
// with this option enabled, all non-secure connections will be redirected.
// set the port for the ssl connection as value of this option if it differs from the default 443