summaryrefslogtreecommitdiffstats
path: root/system/application/controllers
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-07-11 20:54:26 +0200
committerFlorian Pritz <bluewind@xssn.at>2010-07-11 20:55:54 +0200
commiteb98a1b4b2ccebd75924cd56cb286573186cc283 (patch)
tree2fc216d31678ab1fbafe514ab5f15df4be233098 /system/application/controllers
parent00596f828d9e964ed008020ea104e96e77824578 (diff)
display minimum deletion size on upload_form
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'system/application/controllers')
-rw-r--r--system/application/controllers/file.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/application/controllers/file.php b/system/application/controllers/file.php
index 67f7c0b2e..8584948b9 100644
--- a/system/application/controllers/file.php
+++ b/system/application/controllers/file.php
@@ -13,7 +13,7 @@ class File extends Controller {
function __construct()
{
parent::Controller();
- $this->load->helper('form');
+ $this->load->helper(array('form', 'filebin'));
$this->load->model('file_mod');
$this->var->cli_client = false;
$this->file_mod->var->cli_client =& $this->var->cli_client;
@@ -47,6 +47,7 @@ class File extends Controller {
{
$data = array();
$data['title'] = 'Upload';
+ $data['small_upload_size'] = $this->config->item('small_upload_size');
$this->load->view('file/header', $data);
$this->load->view('file/upload_form', $data);