diff options
author | phecho <phecho@163.com> | 2016-12-13 18:21:02 +0800 |
---|---|---|
committer | phecho <phecho@163.com> | 2016-12-13 18:21:02 +0800 |
commit | 2ed00b69a032018d15e1986e4cfe5c89f63206c9 (patch) | |
tree | 5f02e3ed4988262aeb03634e120886dba9846e29 /app/Controller/TaskImportController.php | |
parent | f83178bef8084bfe57963b1820e73b4a9ab0bab5 (diff) |
Verify file upload size
Diffstat (limited to 'app/Controller/TaskImportController.php')
-rw-r--r-- | app/Controller/TaskImportController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/TaskImportController.php b/app/Controller/TaskImportController.php index aff2d390..3ce275a5 100644 --- a/app/Controller/TaskImportController.php +++ b/app/Controller/TaskImportController.php @@ -27,7 +27,7 @@ class TaskImportController extends BaseController 'project' => $project, 'values' => $values, 'errors' => $errors, - 'max_size' => ini_get('upload_max_filesize'), + 'max_size' => get_upload_max_size(), 'delimiters' => Csv::getDelimiters(), 'enclosures' => Csv::getEnclosures(), 'title' => t('Import tasks from CSV file'), |