summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-06-13 15:09:00 +0200
committerFlorian Pritz <bluewind@xssn.at>2010-06-13 15:09:00 +0200
commit1399b33d2b2f3f2115cf9c564a8fa862e22c14b8 (patch)
tree9eeb113db47d4dcadf2fc7b7438202b01b178a84
parente601f848718b576d4f2aabfb8e14e4b9ca35e5a0 (diff)
fix java detection
Signed-off-by: Florian Pritz <bluewind@xssn.at>
-rw-r--r--system/application/models/file_mod.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/application/models/file_mod.php b/system/application/models/file_mod.php
index faa9740dd..3aca81605 100644
--- a/system/application/models/file_mod.php
+++ b/system/application/models/file_mod.php
@@ -290,6 +290,7 @@ class File_mod extends Model {
'text/x-c++src' => 'cpp',
'text/x-patch' => 'diff',
'text/x-lua' => 'lua',
+ 'text/x-java' => 'java',
'text/x-haskell' => 'hs',
'text/x-literate-haskell' => 'hs',
'text/x-subviewer' => 'sh',