Include highlighting for Ruby/Rails files
[phorkie.git] / data / config.default.php
index 4ef5d05641afd54675930457f5ac95431071eeed..783412ee20736a17496ccb2e68ea824abd2ac322 100644 (file)
@@ -1,13 +1,14 @@
 <?php
 $GLOBALS['phorkie']['cfg'] = array(
-    'debug'      => false,
-    'gitdir'     => __DIR__ . '/../repos/git/',
-    'workdir'    => __DIR__ . '/../repos/work/',
-    'tpl'        => __DIR__ . '/templates/',
-    'css'        => 'http://twitter.github.com/bootstrap/assets/css/bootstrap.css',
-    'title'      => 'phorkie',
-    'topbar'     => '',
-    'setupcheck' => true,
+    'debug'         => false,
+    'gitdir'        => __DIR__ . '/../repos/git/',
+    'workdir'       => __DIR__ . '/../repos/work/',
+    'tpl'           => __DIR__ . '/templates/',
+    'css'           => 'http://twitter.github.com/bootstrap/assets/css/bootstrap.css',
+    'title'         => 'phorkie',
+    'topbar'        => '',
+    'setupcheck'    => true,
+    'elasticsearch' => null,
 );
 $GLOBALS['phorkie']['tools'] = array(
     '\\phorkie\\Tool_Xmllint' => true,
@@ -44,16 +45,16 @@ $GLOBALS['phorkie']['languages'] = array(
         'mime'  => 'image/jpeg',
         'show'  => false
     ),
-    'js' => array(
-        'title' => 'Javascript',
-        'mime'  => 'application/javascript',
-        'geshi' => 'javascript'
-    ),
     'ini' => array(
         'title' => 'Ini',
         'mime'  => 'text/ini',
         'geshi' => 'ini'
     ),
+    'js' => array(
+        'title' => 'Javascript',
+        'mime'  => 'application/javascript',
+        'geshi' => 'javascript'
+    ),
     'php' => array(
         'title' => 'PHP',
         'mime'  => 'text/x-php',
@@ -64,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',
@@ -87,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(