Verify file upload size
This commit is contained in:
@@ -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(ini_get('upload_max_filesize')),
|
||||
'max_size' => $this->helper->text->phpToBytes(get_upload_max_size()),
|
||||
)));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user