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',
13 'index' => 'new'//"new" or "list"
15 $GLOBALS['phorkie']['tools'] = array(
16 '\\phorkie\\Tool_Xmllint' => true,
17 '\\phorkie\\Tool_PHPlint' => true,
20 * Array of supported file types / languages.
21 * Key is the file extension
23 $GLOBALS['phorkie']['languages'] = array(
31 'mime' => 'text/diff',
36 'mime' => 'text/html',
41 'mime' => 'text/html',
46 'title' => 'JPEG image',
47 'mime' => 'image/jpeg',
56 'title' => 'Javascript',
57 'mime' => 'application/javascript',
58 'geshi' => 'javascript'
61 'title' => 'Markdown',
62 'mime' => 'text/x-markdown',
63 'renderer' => '\\phorkie\\Renderer_Markdown'
67 'mime' => 'application/x-perl',
72 'mime' => 'text/x-php',
76 'title' => 'PNG image',
77 'mime' => 'image/png',
81 'title' => 'Ruby/Rails',
82 'mime' => 'text/x-ruby', /* Is this an acceptable mime type? */
86 'title' => 'reStructuredText',
87 'mime' => 'text/x-rst',
89 'renderer' => '\\phorkie\\Renderer_ReStructuredText',
92 'title' => 'Shell script (Bash)',
93 'mime' => 'text/x-shellscript',
98 'mime' => 'text/x-sql',
102 'title' => 'SVG image',
103 'mime' => 'image/svg+xml',
107 'title' => 'Text (plain)',
108 'mime' => 'text/plain',
112 'title' => 'TypoScript',
113 'mime' => 'text/x-typoscript',/* TODO: correct type */
114 'geshi' => 'typoscript'
118 'mime' => 'text/xml',