summaryrefslogtreecommitdiffstats
path: root/system/application/controllers
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-07-26 17:30:37 +0200
committerFlorian Pritz <bluewind@xssn.at>2010-07-26 17:30:37 +0200
commit7a8732b78d433b3a148a103491c8a93cceb16da5 (patch)
tree44d5718bdc4e43c7a6b2b0f8958fece3cca981b2 /system/application/controllers
parente71789886fd593142088b38ebca544dbaa05bd43 (diff)
display maximum upload 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.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/application/controllers/file.php b/system/application/controllers/file.php
index 601cf80e1..e2d30c069 100644
--- a/system/application/controllers/file.php
+++ b/system/application/controllers/file.php
@@ -50,6 +50,7 @@ class File extends Controller {
$data = array();
$data['title'] = 'Upload';
$data['small_upload_size'] = $this->config->item('small_upload_size');
+ $data['max_upload_size'] = $this->config->item('upload_max_size');
$this->load->view('file/header', $data);
$this->load->view('file/upload_form', $data);