git.cweiske.de
/
phorkie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0290cb4
)
Include highlighting for Ruby/Rails files
author
Andy Walker
<walkeran@gmail.com>
Sun, 10 Jun 2012 13:28:30 +0000
(15:28 +0200)
committer
Christian Weiske
<cweiske@cweiske.de>
Sun, 10 Jun 2012 13:28:30 +0000
(15:28 +0200)
data/config.default.php
patch
|
blob
|
history
diff --git
a/data/config.default.php
b/data/config.default.php
index b648614567d7379e33a92c403628f4aad41e7a47..783412ee20736a17496ccb2e68ea824abd2ac322 100644
(file)
--- a/
data/config.default.php
+++ b/
data/config.default.php
@@
-65,6
+65,11
@@
$GLOBALS['phorkie']['languages'] = array(
'mime' => 'image/png',
'show' => false
),
+ 'rb' => array(
+ 'title' => 'Ruby/Rails',
+ 'mime' => 'text/x-ruby', /* Is this an acceptable mime type? */
+ 'geshi' => 'rails'
+ ),
'rst' => array(
'title' => 'reStructuredText',
'mime' => 'text/x-rst',