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'
62 'mime' => 'application/x-perl',
67 'mime' => 'text/x-php',
71 'title' => 'PNG image',
72 'mime' => 'image/png',
76 'title' => 'Ruby/Rails',
77 'mime' => 'text/x-ruby', /* Is this an acceptable mime type? */
81 'title' => 'reStructuredText',
82 'mime' => 'text/x-rst',
84 'renderer' => '\\phorkie\\Renderer_ReStructuredText',
87 'title' => 'Shell script (Bash)',
88 'mime' => 'text/x-shellscript',
93 'mime' => 'text/x-sql',
97 'title' => 'SVG image',
98 'mime' => 'image/svg+xml',
102 'title' => 'Text (plain)',
103 'mime' => 'text/plain',
107 'title' => 'TypoScript',
108 'mime' => 'text/x-typoscript',/* TODO: correct type */
109 'geshi' => 'typoscript'
113 'mime' => 'text/xml',