Skip to content

Commit

Permalink
! some say tif other tiff ... accept either
Browse files Browse the repository at this point in the history
  • Loading branch information
Spuds committed Jan 1, 2024
1 parent 82c8ba3 commit 5169b99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion levgal_src/Model/Item.php
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ private function getIconUrl($file_ext)
'_audio' => array('flac', 'mp3', 'm4a', 'oga', 'ogg', 'wav'),
'_binary' => array('bin', 'dll', 'exe'),
'_font' => array('otf', 'ttf'),
'_image' => array('gif', 'iff', 'jpeg', 'jpg', 'webp', 'lbm', 'mng', 'png', 'psd', 'tiff'),
'_image' => array('gif', 'iff', 'jpeg', 'jpg', 'webp', 'lbm', 'mng', 'png', 'psd', 'tiff', 'tif'),
'_video' => array('ogv', 'm4v', 'mp4', 'mov', 'qt', 'mqv', 'webm'),
'doc' => array(
'doc', 'dot', 'docm', 'docx', 'dotm', 'dotx', // MS Word
Expand Down
1 change: 1 addition & 0 deletions levgal_src/Model/Upload.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ protected function getAlternateExtensions()
'html' => array('htm', 'mhtm', 'mhtml'),
'iff' => array('lbm'),
'jpg' => array('jpeg'),
'tiff' => array('tif'),
'lz' => array('lzma'),
'm4a' => array('mp4'),
'm4v' => array('mp4'),
Expand Down

0 comments on commit 5169b99

Please sign in to comment.