From 02bee5d0f91dd472d1969776304ceeb0f7dada93 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sat, 21 Aug 2010 13:58:44 +0200 Subject: some mimetype=>extension fixes Signed-off-by: Florian Pritz --- system/application/models/file_mod.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/system/application/models/file_mod.php b/system/application/models/file_mod.php index 7999c5c8c..1eb4efc26 100644 --- a/system/application/models/file_mod.php +++ b/system/application/models/file_mod.php @@ -312,8 +312,8 @@ class File_mod extends Model { 'text/plain' => 'text', 'text/x-python' => 'py', 'text/x-csrc' => 'c', - 'text/x-chdr' => 'h', - 'text/x-c++hdr' => 'h', + 'text/x-chdr' => 'c', + 'text/x-c++hdr' => 'c', 'text/x-c++src' => 'cpp', 'text/x-patch' => 'diff', 'text/x-lua' => 'lua', @@ -332,7 +332,7 @@ class File_mod extends Model { 'application/javascript' => 'js', 'application/x-desktop' => 'text', 'application/x-m4' => 'text', - 'application/x-awk' => 'awk', + 'application/x-awk' => 'text', 'application/x-java' => 'java', 'application/x-php' => 'php', 'application/x-ruby' => 'rb', -- cgit v1.2.3-24-g4f1b