summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-09-12 02:15:42 +0200
committerFlorian Pritz <bluewind@xssn.at>2010-09-12 02:15:42 +0200
commit6a5741ad795d564da5a883881723e3cee39667c1 (patch)
treea51989f343b75a6460d7e5fa3d8d3dcba6cb0600 /system
parent4d57caedaa53da50eb55e574762cb82502b5fc02 (diff)
2 filename2extension fixes
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'system')
-rw-r--r--system/application/models/file_mod.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/application/models/file_mod.php b/system/application/models/file_mod.php
index 27f59dfd3..d712c7fa3 100644
--- a/system/application/models/file_mod.php
+++ b/system/application/models/file_mod.php
@@ -370,7 +370,8 @@ class File_mod extends Model {
function filename2extension($name)
{
$namearray = array(
- 'PKGBUILD' => 'sh'
+ 'PKGBUILD' => 'bash',
+ '.vimrc' => 'vim'
);
if (array_key_exists($name, $namearray)) return $namearray[$name];