]> source.dussan.org Git - nextcloud-server.git/commit
use file extension for determining mimetypes on default
authorRobin Appelman <icewind@owncloud.com>
Sat, 21 Jul 2012 23:49:42 +0000 (01:49 +0200)
committerRobin Appelman <icewind@owncloud.com>
Sat, 21 Jul 2012 23:53:20 +0000 (01:53 +0200)
commit2a73678fef47f8230f6caf546e42b22d722973b0
treec926dce2b4dd77b349e54f3676da87cfd62da336
parentab8ce89df34ea1fefd457973fd80651dba72a278
use file extension for determining mimetypes on default

should be more reliable for files that "look like" other types based on their magic numbers such as odf and docx files
also a lot faster then the old way
lib/helper.php
lib/mimetypes.fixlist.php [deleted file]
lib/mimetypes.list.php