add image renderer
[phorkie.git] / data / config.default.php
index 804ff5e45d863fb96d567461fc40e7f522c3cb9f..c08d4014fb3da06961fccaf48a64edb32ebb34c5 100644 (file)
@@ -6,6 +6,10 @@ $GLOBALS['phorkie']['cfg'] = array(
     'tpl'     => __DIR__ . '/templates/',
     'css'     => 'http://twitter.github.com/bootstrap/assets/css/bootstrap.css',
 );
+$GLOBALS['phorkie']['tools'] = array(
+    '\\phorkie\\Tool_Xmllint',
+    '\\phorkie\\Tool_PHPlint',
+);
 /**
  * Array of supported file types / languages.
  * Key is the file extension
@@ -32,6 +36,11 @@ $GLOBALS['phorkie']['languages'] = array(
         'geshi' => 'xml',
         'show'  => false
     ),
+    'jpg' => array(
+        'title' => 'JPEG image',
+        'mime'  => 'image/jpeg',
+        'show'  => false
+    ),
     'js' => array(
         'title' => 'Javascript',
         'mime'  => 'application/javascript',
@@ -47,6 +56,11 @@ $GLOBALS['phorkie']['languages'] = array(
         'mime'  => 'text/x-php',
         'geshi' => 'php'
     ),
+    'png' => array(
+        'title' => 'PNG image',
+        'mime'  => 'image/png',
+        'show'  => false
+    ),
     'rst' => array(
         'title' => 'reStructuredText',
         'mime'  => 'text/x-rst',
@@ -63,6 +77,11 @@ $GLOBALS['phorkie']['languages'] = array(
         'mime'  => 'text/x-sql',
         'geshi' => 'sql'
     ),
+    'svg' => array(
+        'title' => 'SVG image',
+        'mime'  => 'image/svg+xml',
+        'show'  => false
+    ),
     'ts' => array(
         'title' => 'TypoScript',
         'mime'  => 'text/plain',/* TODO: correct type */