Allow jpeg and PDF.

This commit is contained in:
James Cole 2015-07-18 19:49:35 +02:00
parent 83d6158483
commit 6a9574bab9

View File

@ -20,7 +20,7 @@ class AttachmentHelper implements AttachmentHelperInterface
// move to config: // move to config:
protected $maxUploadSize = 1048576; // 1MB per file protected $maxUploadSize = 1048576; // 1MB per file
protected $allowedMimes = ['image/png']; protected $allowedMimes = ['image/png','image/jpeg','application/pdf'];
public $errors; public $errors;
public $messages; public $messages;