summaryrefslogtreecommitdiffstats
path: root/system/application/controllers/file.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/application/controllers/file.php')
-rw-r--r--system/application/controllers/file.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/system/application/controllers/file.php b/system/application/controllers/file.php
index c20fb10db..2b2ffce6a 100644
--- a/system/application/controllers/file.php
+++ b/system/application/controllers/file.php
@@ -56,6 +56,11 @@ class File extends Controller {
$this->load->view('file/footer', $data);
}
+ function get_max_size()
+ {
+ echo $this->config->item('upload_max_size');
+ }
+
function delete()
{
$id = $this->uri->segment(3);