Permalink
Browse files

Added some more filetypes, need to come up with a better way of handl…

…ing binary files!
  • Loading branch information...
xanmanning committed Jul 12, 2010
1 parent cf6bcc5 commit 91920eb7ef796f09f8102dc96d9959112fd2b550
Showing with 16 additions and 1 deletion.
  1. +16 −1 git.php
View
17 git.php
@@ -166,6 +166,7 @@
'.lhs' => 'haskell', #Haskell
'.html' => 'html4strict', #HTML
'.htm' => 'html4strict', #HTML
+'.xht' => 'html4strict', #HTML
'.xhtml' => 'html4strict', #HTML
'.shtml' => 'html4strict', #HTML
'.ini' => 'ini', #INI
@@ -219,6 +220,10 @@
'.vim' => 'vim', #Vim Script
'.bat' => 'winbatch', #Winbatch
'.cmd' => 'winbatch', #Winbatch
+'.xml' => 'xml', #XML
+'.atom' => 'xml', #XML
+'.rss' => 'xml', #XML
+'.ghx' => 'xml', #XML
/* The following are images and need to be displayed as such! */
'.png' => 'image', # PNG Image
@@ -229,6 +234,7 @@
/* The following are needing to be downloaded! */
'.pdf' => 'download',
+'.ai' => 'download',
'.doc' => 'download',
'.xls' => 'download',
'.ppt' => 'download',
@@ -271,7 +277,16 @@
'.odv' => 'download',
'.bin' => 'download',
'.mp4' => 'download',
-'.swf' => 'download'
+'.swf' => 'download',
+'.ico' => 'download',
+'.o' => 'download',
+'.tif' => 'download',
+'.tiff' => 'download',
+'.3dm' => 'download',
+'.3ds' => 'download',
+'.so' => 'download',
+'.dll' => 'download',
+'.dylib' => 'download'
);
if (!isset($git_embed) && $git_embed != true) {

0 comments on commit 91920eb

Please sign in to comment.