summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-08-30 01:41:59 -0700
committerAleksander Machniak <alec@alec.pl>2013-08-30 01:41:59 -0700
commitd6eaa8eaf6f8108b0b4558229b04415e62586d2a (patch)
tree293e270ef727ca1bfe61e02f6497ffb43bbf022e /config
parentf49e28e4a6ec515ff4d965cf8ad7821e7258406e (diff)
parentde8687f9f11d49d36b322af72f644f7c5a232b9f (diff)
Merge pull request #111 from dpc22/temp_dir_ttl
Add temp_dir_ttl configuration option
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