Better handling of max file upload size according to PHP settings
- Allow unlimited size - Better parsing of PHP size Fixes #4896
This commit is contained in:
committed by
Frédéric Guillot
parent
6e84f41517
commit
b138a99ce3
@@ -40,7 +40,7 @@ class TaskFileController extends BaseController
|
||||
|
||||
$this->response->html($this->template->render('task_file/create', array(
|
||||
'task' => $task,
|
||||
'max_size' => $this->helper->text->phpToBytes(get_upload_max_size()),
|
||||
'max_size' => get_upload_max_size(),
|
||||
)));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user