diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-02-13 19:24:36 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-02-13 19:24:36 -0500 |
commit | 738b6ae5832fb7c2992ec0dc52399e4dbf3d096d (patch) | |
tree | 25ebca2f9d6dd6ba8f5431644fdc6b8ff91ac34d /app/Controller | |
parent | 6161eaef9e107ddbfc104753eb5d48434de3b824 (diff) |
Add file drag and drop and asynchronous upload
Diffstat (limited to 'app/Controller')
-rw-r--r-- | app/Controller/File.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/File.php b/app/Controller/File.php index 50db3865..4ac45fbd 100644 --- a/app/Controller/File.php +++ b/app/Controller/File.php @@ -42,7 +42,7 @@ class File extends Base $this->response->html($this->helper->layout->task('file/new', array( 'task' => $task, - 'max_size' => ini_get('upload_max_filesize'), + 'max_size' => $this->helper->text->phpToBytes(ini_get('upload_max_filesize')), ))); } |