summaryrefslogtreecommitdiffstats
path: root/application/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'application/controllers')
-rw-r--r--application/controllers/file.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/application/controllers/file.php b/application/controllers/file.php
index 9d872fbb0..351be6ae5 100644
--- a/application/controllers/file.php
+++ b/application/controllers/file.php
@@ -70,6 +70,7 @@ class File extends CI_Controller {
$data['title'] = 'Upload';
$data['small_upload_size'] = $this->config->item('small_upload_size');
$data['max_upload_size'] = $this->config->item('upload_max_size');
+ $data['upload_max_age'] = $this->config->item('upload_max_age')/60/60/24;
$data['client_link'] = base_url().'data/client/fb-'.$this->var->latest_client.'.tar.gz';
$data['client_link_dir'] = base_url().'data/client/';