From: Ferry Huberts Date: Tue, 19 Jul 2011 08:51:58 +0000 (+0200) Subject: ui_plain: automatically lookup mimetype when mimetype-file is set X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/d01c600c179593a53162a9d4e3040ecfc5078fdc?hp=d01c600c179593a53162a9d4e3040ecfc5078fdc ui_plain: automatically lookup mimetype when mimetype-file is set For sites that do not want to configure mime types by hand but still want the correct mime type for 'plain' blobs, configuring a mime type file is made possible. This is handy since such a file is normally already provided (at least on Linux systems). Also, this reflects the gitweb option '$mimetypes_file' Signed-off-by: Ferry Huberts Signed-off-by: Lars Hjemli ---