summaryrefslogtreecommitdiff
path: root/app/Controller
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-02-13 19:24:36 -0500
committerFrederic Guillot <fred@kanboard.net>2016-02-13 19:24:36 -0500
commit738b6ae5832fb7c2992ec0dc52399e4dbf3d096d (patch)
tree25ebca2f9d6dd6ba8f5431644fdc6b8ff91ac34d /app/Controller
parent6161eaef9e107ddbfc104753eb5d48434de3b824 (diff)
Add file drag and drop and asynchronous upload
Diffstat (limited to 'app/Controller')
-rw-r--r--app/Controller/File.php2
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')),
)));
}