Verify file upload size
This commit is contained in:
@@ -21,7 +21,7 @@ class ProjectFileController extends BaseController
|
||||
|
||||
$this->response->html($this->template->render('project_file/create', array(
|
||||
'project' => $project,
|
||||
'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