summaryrefslogtreecommitdiffstats
path: root/system/application/config
diff options
context:
space:
mode:
Diffstat (limited to 'system/application/config')
-rwxr-xr-xsystem/application/config/example/config.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/application/config/example/config.php b/system/application/config/example/config.php
index af54fb383..bab0087b0 100755
--- a/system/application/config/example/config.php
+++ b/system/application/config/example/config.php
@@ -340,6 +340,8 @@ $config['proxy_ips'] = '';
$config['upload_path'] = FCPATH.'data/uploads';
$config['upload_max_size'] = 256*1024*1024;
$config['upload_max_text_size'] = 2*1024*1024;
+
+// 0 disables deletion
$config['upload_max_age'] = 60*60*24*5; // 5 days
// won't be deleted