diff options
author | Florian Pritz <bluewind@xssn.at> | 2010-07-26 17:11:31 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xssn.at> | 2010-07-26 17:11:31 +0200 |
commit | 7f105bc4f5d2cf6632da3d3575e1d8e583067cc8 (patch) | |
tree | bc1c19812ebc384f0a8a91ce910dab15b864a24b /system/application/controllers/file.php | |
parent | b07875f49909b2292e3b980f2e262dcfa49b8603 (diff) |
add function to get max upload size
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'system/application/controllers/file.php')
-rw-r--r-- | system/application/controllers/file.php | 5 |
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); |