diff options
Diffstat (limited to 'lib/private/Preview/Photoshop.php')
-rw-r--r-- | lib/private/Preview/Photoshop.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/private/Preview/Photoshop.php b/lib/private/Preview/Photoshop.php index 9d79abf8191..dbe2e68192e 100644 --- a/lib/private/Preview/Photoshop.php +++ b/lib/private/Preview/Photoshop.php @@ -31,4 +31,11 @@ class Photoshop extends Bitmap { public function getMimeType(): string { return '/application\/x-photoshop/'; } + + /** + * {@inheritDoc} + */ + protected function getAllowedMimeTypes(): string { + return '/(application|image)\/(x-photoshop|x-psd)/'; + } } |