Add file drag and drop and asynchronous upload

This commit is contained in:
Frederic Guillot
2016-02-13 19:24:36 -05:00
parent 6161eaef9e
commit 738b6ae583
11 changed files with 222 additions and 33 deletions

View File

@@ -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')),
)));
}