File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -107,6 +107,7 @@ trait BaseDocumentTrait
107107 'application/vnd.oasis.opendocument.text ' => 'word ' ,
108108 'application/vnd.openxmlformats-officedocument.presentationml.presentation ' => 'powerpoint ' ,
109109 'application/vnd.openxmlformats-officedocument.presentationml.slideshow ' => 'powerpoint ' ,
110+ 'application/vnd.ms-excel.sheet.macroenabled.12 ' => 'excel ' ,
110111 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet ' => 'excel ' ,
111112 'application/vnd.openxmlformats-officedocument.spreadsheetml.template ' => 'excel ' ,
112113 'application/vnd.openxmlformats-officedocument.wordprocessingml.document ' => 'word ' ,
@@ -175,6 +176,7 @@ public function getMountPath(): ?string
175176 public function getShortType (): string
176177 {
177178 $ mimeType = (string ) $ this ->getMimeType ();
179+ $ mimeType = strtolower ($ mimeType );
178180 if ('' !== $ mimeType && isset (static ::$ mimeToIcon [$ mimeType ])) {
179181 return static ::$ mimeToIcon [$ mimeType ];
180182 }
You can’t perform that action at this time.
0 commit comments