summaryrefslogtreecommitdiffstats
path: root/application/models/mfile.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2013-02-04 01:00:01 +0100
committerFlorian Pritz <bluewind@xinu.at>2013-02-04 01:00:01 +0100
commit4539bd82545c2a521cfc3943beea98b90810f7f4 (patch)
tree693d0f480993fa84757819952e3bd5beee70d726 /application/models/mfile.php
parentdda80c29ed4177720c2117c46c1bd134ec61f812 (diff)
Handle text/x-diff MIME type
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/models/mfile.php')
-rw-r--r--application/models/mfile.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/application/models/mfile.php b/application/models/mfile.php
index ec1b8b586..3d0bda374 100644
--- a/application/models/mfile.php
+++ b/application/models/mfile.php
@@ -268,6 +268,7 @@ class Mfile extends CI_Model {
'text/x-c++hdr' => 'c',
'text/x-c++src' => 'cpp',
'text/x-patch' => 'diff',
+ 'text/x-diff' => 'diff',
'text/x-lua' => 'lua',
'text/x-java' => 'java',
'text/x-haskell' => 'haskell',