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']['auth'] = array(
16 // 0 = public, no authentication, 1 = protect adds/edits/deletes,
17 // 2 = require authentication
19 'listedUsersOnly' => false,
20 'users' => array(), // Array of OpenIDs that may login
21 'anonymousName' => 'Anonymous', // Email for non-authenticated commits
22 'anonymousEmail' => 'anonymous@phorkie', // Email for non-authenticated commits
24 $GLOBALS['phorkie']['tools'] = array(
25 '\\phorkie\\Tool_Xmllint' => true,
26 '\\phorkie\\Tool_PHPlint' => true,
29 * Array of supported file types / languages.
30 * Key is the file extension
32 $GLOBALS['phorkie']['languages'] = array(
40 'mime' => 'text/diff',
45 'mime' => 'text/html',
50 'mime' => 'text/html',
55 'title' => 'JPEG image',
56 'mime' => 'image/jpeg',
65 'title' => 'Javascript',
66 'mime' => 'application/javascript',
67 'geshi' => 'javascript'
70 'title' => 'Markdown',
71 'mime' => 'text/x-markdown',
72 'renderer' => '\\phorkie\\Renderer_Markdown'
76 'mime' => 'application/x-perl',
81 'mime' => 'text/x-php',
85 'title' => 'PNG image',
86 'mime' => 'image/png',
90 'title' => 'Ruby/Rails',
91 'mime' => 'text/x-ruby', /* Is this an acceptable mime type? */
95 'title' => 'reStructuredText',
96 'mime' => 'text/x-rst',
98 'renderer' => '\\phorkie\\Renderer_ReStructuredText',
101 'title' => 'Shell script (Bash)',
102 'mime' => 'text/x-shellscript',
107 'mime' => 'text/x-sql',
111 'title' => 'SVG image',
112 'mime' => 'image/svg+xml',
116 'title' => 'Text (plain)',
117 'mime' => 'text/plain',
121 'title' => 'TypoScript',
122 'mime' => 'text/x-typoscript',/* TODO: correct type */
123 'geshi' => 'typoscript'
127 'mime' => 'text/xml',