2 $GLOBALS['phorkie']['cfg'] = array(
4 'gitdir' => __DIR__ . '/../repos/git/',
5 'workdir' => __DIR__ . '/../repos/work/',
6 'tpl' => __DIR__ . '/templates/',
12 'elasticsearch' => null,
13 'geshi' => 'MediaWiki/geshi/geshi/geshi.php',
14 'index' => 'new'//"new" or "list"
16 $GLOBALS['phorkie']['auth'] = array(
17 // 0 = public, no authentication, 1 = protect adds/edits/deletes,
18 // 2 = require authentication
20 'listedUsersOnly' => false,
21 'users' => array(), // Array of OpenIDs that may login
22 'anonymousName' => 'Anonymous', // Email for non-authenticated commits
23 'anonymousEmail' => 'anonymous@phorkie', // Email for non-authenticated commits
25 $GLOBALS['phorkie']['tools'] = array(
26 '\\phorkie\\Tool_Xmllint' => true,
27 '\\phorkie\\Tool_PHPlint' => true,
30 * Array of supported file types / languages.
31 * Key is the file extension
33 $GLOBALS['phorkie']['languages'] = array(
41 'mime' => 'text/diff',
46 'mime' => 'text/html',
51 'mime' => 'text/html',
56 'title' => 'JPEG image',
57 'mime' => 'image/jpeg',
66 'title' => 'Javascript',
67 'mime' => 'application/javascript',
68 'geshi' => 'javascript'
71 'title' => 'Javascript',
72 'mime' => 'application/javascript',
73 'geshi' => 'javascript',
77 'title' => 'Markdown',
78 'mime' => 'text/x-markdown',
79 'renderer' => '\\phorkie\\Renderer_Markdown'
83 'mime' => 'application/x-perl',
88 'mime' => 'text/x-php',
92 'title' => 'PNG image',
93 'mime' => 'image/png',
97 'title' => 'Ruby/Rails',
98 'mime' => 'text/x-ruby', /* Is this an acceptable mime type? */
102 'title' => 'reStructuredText',
103 'mime' => 'text/x-rst',
105 'renderer' => '\\phorkie\\Renderer_ReStructuredText',
108 'title' => 'Shell script (Bash)',
109 'mime' => 'text/x-shellscript',
114 'mime' => 'text/x-sql',
118 'title' => 'SVG image',
119 'mime' => 'image/svg+xml',
123 'title' => 'Text (plain)',
124 'mime' => 'text/plain',
128 'title' => 'TypoScript',
129 'mime' => 'text/x-typoscript',/* TODO: correct type */
130 'geshi' => 'typoscript'
134 'mime' => 'text/xml',