2 $GLOBALS['phorkie']['cfg'] = array(
4 'gitdir' => __DIR__ . '/../repos/git/',
5 'workdir' => __DIR__ . '/../repos/work/',
6 'tpl' => __DIR__ . '/templates/',
7 'css' => 'http://twitter.github.com/bootstrap/assets/css/bootstrap.css',
11 'elasticsearch' => null,
12 'geshi' => 'MediaWiki/geshi/geshi/geshi.php'
14 $GLOBALS['phorkie']['tools'] = array(
15 '\\phorkie\\Tool_Xmllint' => true,
16 '\\phorkie\\Tool_PHPlint' => true,
19 * Array of supported file types / languages.
20 * Key is the file extension
22 $GLOBALS['phorkie']['languages'] = array(
30 'mime' => 'text/diff',
35 'mime' => 'text/html',
40 'mime' => 'text/html',
45 'title' => 'JPEG image',
46 'mime' => 'image/jpeg',
55 'title' => 'Javascript',
56 'mime' => 'application/javascript',
57 'geshi' => 'javascript'
61 'mime' => 'application/x-perl',
66 'mime' => 'text/x-php',
70 'title' => 'PNG image',
71 'mime' => 'image/png',
75 'title' => 'Ruby/Rails',
76 'mime' => 'text/x-ruby', /* Is this an acceptable mime type? */
80 'title' => 'reStructuredText',
81 'mime' => 'text/x-rst',
83 'renderer' => '\\phorkie\\Renderer_ReStructuredText',
86 'title' => 'Shell script (Bash)',
87 'mime' => 'text/x-shellscript',
92 'mime' => 'text/x-sql',
96 'title' => 'SVG image',
97 'mime' => 'image/svg+xml',
101 'title' => 'Text (plain)',
102 'mime' => 'text/plain',
106 'title' => 'TypoScript',
107 'mime' => 'text/x-typoscript',/* TODO: correct type */
108 'geshi' => 'typoscript'
112 'mime' => 'text/xml',