summaryrefslogtreecommitdiffstats
path: root/application/controllers
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@server-speed.net>2011-05-28 19:59:54 +0200
committerFlorian Pritz <bluewind@server-speed.net>2011-05-28 19:59:54 +0200
commit77c5b12cdfbd9b2311db341ca79c6d81b97b5df4 (patch)
treeb7e6180618ae55685d55302ad745ac7d0297ee5a /application/controllers
parent64e1efba7de26f8a551f8c1bb13fdb1228cee987 (diff)
display configured age limit on front page
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
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/';