From 783fe29fc9112d25354f0d6600b72d5901cf9da1 Mon Sep 17 00:00:00 2001 From: Joshua Ramon Enslin Date: Tue, 4 Jan 2022 02:56:32 +0100 Subject: [PATCH] Add list of allowed file types in a ZIP for 3D objects --- src/MDRequirementsSet.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/MDRequirementsSet.php b/src/MDRequirementsSet.php index 81de6db..2d0fb7e 100644 --- a/src/MDRequirementsSet.php +++ b/src/MDRequirementsSet.php @@ -47,4 +47,6 @@ final class MDRequirementsSet { const MIMETYPES_CATALOGUE_WORK_IMAGE = ['image/jpeg', 'image/jpg']; const MIMETYPES_CATALOGUE_OBJECT_SUMMARY_IMAGE = ['image/jpeg', 'image/jpg']; + const EXTENSIONS_THREE_D_ZIP = ['obj', 'mtl', 'jpg', 'jpeg', 'png']; + }