Include highlighting for Ruby/Rails files
[phorkie.git] / data / config.default.php
index 17e4a498b2d255b595e660bc149971df87ea7390..783412ee20736a17496ccb2e68ea824abd2ac322 100644 (file)
@@ -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',
@@ -88,7 +93,7 @@ $GLOBALS['phorkie']['languages'] = array(
     ),
     'ts' => array(
         'title' => 'TypoScript',
-        'mime'  => 'text/plain',/* TODO: correct type */
+        'mime'  => 'text/x-typoscript',/* TODO: correct type */
         'geshi' => 'typoscript'
     ),
     'txt' => array(