summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--system/application/models/file_mod.php6
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',