summaryrefslogtreecommitdiff
path: root/app/Controller/File.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller/File.php')
-rw-r--r--app/Controller/File.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/File.php b/app/Controller/File.php
index 50db3865..4ac45fbd 100644
--- a/app/Controller/File.php
+++ b/app/Controller/File.php
@@ -42,7 +42,7 @@ class File extends Base
$this->response->html($this->helper->layout->task('file/new', array(
'task' => $task,
- 'max_size' => ini_get('upload_max_filesize'),
+ 'max_size' => $this->helper->text->phpToBytes(ini_get('upload_max_filesize')),
)));
}