summaryrefslogtreecommitdiff
path: root/app/Controller/ProjectFileController.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller/ProjectFileController.php')
-rw-r--r--app/Controller/ProjectFileController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/ProjectFileController.php b/app/Controller/ProjectFileController.php
index cbe48679..9c38f684 100644
--- a/app/Controller/ProjectFileController.php
+++ b/app/Controller/ProjectFileController.php
@@ -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()),
)));
}