2 $GLOBALS['phorkie']['cfg'] = array(
4 'gitdir' => __DIR__ . '/../repos/git/',
5 'workdir' => __DIR__ . '/../repos/work/',
6 'tpl' => __DIR__ . '/templates/',
13 'elasticsearch' => null,
14 'geshi' => 'MediaWiki/geshi/geshi/geshi.php',
15 'index' => 'new',//"new" or "list"
18 $GLOBALS['phorkie']['auth'] = array(
19 // 0 = public, no authentication, 1 = protect adds/edits/deletes,
20 // 2 = require authentication
22 'listedUsersOnly' => false,
23 'users' => array(), // Array of OpenIDs that may login
24 'anonymousName' => 'Anonymous', // Email for non-authenticated commits
25 'anonymousEmail' => 'anonymous@phorkie', // Email for non-authenticated commits
27 $GLOBALS['phorkie']['tools'] = array(
28 '\\phorkie\\Tool_Xmllint' => true,
29 '\\phorkie\\Tool_PHPlint' => true,
32 * Array of supported file types / languages.
33 * Key is the file extension
35 $GLOBALS['phorkie']['languages'] = array(
43 'mime' => 'text/diff',
48 'mime' => 'text/html',
53 'mime' => 'text/html',
58 'title' => 'JPEG image',
59 'mime' => 'image/jpeg',
68 'title' => 'Javascript',
69 'mime' => 'application/javascript',
70 'geshi' => 'javascript'
73 'title' => 'Javascript',
74 'mime' => 'application/javascript',
75 'geshi' => 'javascript',
79 'title' => 'Markdown',
80 'mime' => 'text/x-markdown',
81 'renderer' => '\\phorkie\\Renderer_Markdown'
85 'mime' => 'application/x-perl',
90 'mime' => 'text/x-php',
94 'title' => 'PNG image',
95 'mime' => 'image/png',
99 'title' => 'Ruby/Rails',
100 'mime' => 'text/x-ruby', /* Is this an acceptable mime type? */
104 'title' => 'reStructuredText',
105 'mime' => 'text/x-rst',
107 'renderer' => '\\phorkie\\Renderer_ReStructuredText',
110 'title' => 'Shell script (Bash)',
111 'mime' => 'text/x-shellscript',
116 'mime' => 'text/x-sql',
120 'title' => 'SVG image',
121 'mime' => 'image/svg+xml',
125 'title' => 'Text (plain)',
126 'mime' => 'text/plain',
130 'title' => 'TypoScript',
131 'mime' => 'text/x-typoscript',/* TODO: correct type */
132 'geshi' => 'typoscript'
136 'mime' => 'text/xml',