From 7a8732b78d433b3a148a103491c8a93cceb16da5 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Mon, 26 Jul 2010 17:30:37 +0200 Subject: display maximum upload size on upload form Signed-off-by: Florian Pritz --- system/application/controllers/file.php | 1 + 1 file changed, 1 insertion(+) (limited to 'system/application/controllers') 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); -- cgit v1.2.3-24-g4f1b