change error message on image upload

This commit is contained in:
Manuel Raynaud
2014-04-30 14:14:26 +02:00
parent fc130f295a
commit 171d388c41
2 changed files with 2 additions and 1 deletions

View File

@@ -77,7 +77,7 @@ class FileController extends BaseAdminController
$message = $this->getTranslator()
->trans(
'File is too heavy, please retry with a file having a size less than %size%.',
array('%size%' => ini_get('post_max_size')),
array('%size%' => ini_get('upload_max_filesize')),
'image'
);