Login | ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/fileformats/trunk/VtsFileTypeDetect.class.php
(Generate patch)

Comparing trunk/VtsFileTypeDetect.class.php (file contents):
Revision 4 by daniel-marschall, Mon May 18 19:32:36 2020 UTC vs.
Revision 5 by daniel-marschall, Sun Nov 15 13:47:58 2020 UTC

# Line 22 | Line 22
22   class VtsFileTypeDetect {
23  
24          public static function getMimeType($filename) {
25 +            $mime_types = array();
26 +            
27                  include __DIR__ . '/mimetype_lookup.inc.php';
28  
29                  foreach ($mime_types as $ext => $mime) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines