summaryrefslogtreecommitdiff
path: root/app/Controller/TaskFileController.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-12-13 20:22:38 -0500
committerFrederic Guillot <fred@kanboard.net>2016-12-13 20:22:38 -0500
commitb6ea1ac9a4cfe4b56a9e226f6087945f01fc57b8 (patch)
treea9d13e78c28ce439ae1d34cfce770eeaa4696e15 /app/Controller/TaskFileController.php
parent5964d5cb13a85468800cdb45d5239cffb25b6e43 (diff)
parent2ed00b69a032018d15e1986e4cfe5c89f63206c9 (diff)
Merge pull-request #2890
Diffstat (limited to 'app/Controller/TaskFileController.php')
-rw-r--r--app/Controller/TaskFileController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/TaskFileController.php b/app/Controller/TaskFileController.php
index 77c0c026..8a0971e4 100644
--- a/app/Controller/TaskFileController.php
+++ b/app/Controller/TaskFileController.php
@@ -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()),
)));
}