summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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',