From 4539bd82545c2a521cfc3943beea98b90810f7f4 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Mon, 4 Feb 2013 01:00:01 +0100 Subject: Handle text/x-diff MIME type Signed-off-by: Florian Pritz --- application/models/mfile.php | 1 + 1 file changed, 1 insertion(+) (limited to 'application/models') 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', -- cgit v1.2.3-24-g4f1b