diff options
author | Florian Pritz <bluewind@xssn.at> | 2010-08-21 13:58:44 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xssn.at> | 2010-08-21 13:58:44 +0200 |
commit | 02bee5d0f91dd472d1969776304ceeb0f7dada93 (patch) | |
tree | b78760412276189c23afc65ade715750b5bc78da /system/application | |
parent | ebce6e597a95459dbe9b177aab4b71a6cff1aa7e (diff) |
some mimetype=>extension fixes
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'system/application')
-rw-r--r-- | system/application/models/file_mod.php | 6 |
1 files 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', |