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"
17 $GLOBALS['phorkie']['auth'] = array(
18 // 0 = public, no authentication, 1 = protect adds/edits/deletes,
19 // 2 = require authentication
21 'listedUsersOnly' => false,
22 'users' => array(), // Array of OpenIDs that may login
23 'anonymousName' => 'Anonymous', // Email for non-authenticated commits
24 'anonymousEmail' => 'anonymous@phorkie', // Email for non-authenticated commits
26 $GLOBALS['phorkie']['tools'] = array(
27 '\\phorkie\\Tool_Xmllint' => true,
28 '\\phorkie\\Tool_PHPlint' => true,
31 * Array of supported file types / languages.
32 * Key is the file extension
34 $GLOBALS['phorkie']['languages'] = array(
42 'mime' => 'text/diff',
47 'mime' => 'text/html',
52 'mime' => 'text/html',
57 'title' => 'JPEG image',
58 'mime' => 'image/jpeg',
67 'title' => 'Javascript',
68 'mime' => 'application/javascript',
69 'geshi' => 'javascript'
72 'title' => 'Javascript',
73 'mime' => 'application/javascript',
74 'geshi' => 'javascript',
78 'title' => 'Markdown',
79 'mime' => 'text/x-markdown',
80 'renderer' => '\\phorkie\\Renderer_Markdown'
84 'mime' => 'application/x-perl',
89 'mime' => 'text/x-php',
93 'title' => 'PNG image',
94 'mime' => 'image/png',
98 'title' => 'Ruby/Rails',
99 'mime' => 'text/x-ruby', /* Is this an acceptable mime type? */
103 'title' => 'reStructuredText',
104 'mime' => 'text/x-rst',
106 'renderer' => '\\phorkie\\Renderer_ReStructuredText',
109 'title' => 'Shell script (Bash)',
110 'mime' => 'text/x-shellscript',
115 'mime' => 'text/x-sql',
119 'title' => 'SVG image',
120 'mime' => 'image/svg+xml',
124 'title' => 'Text (plain)',
125 'mime' => 'text/plain',
129 'title' => 'TypoScript',
130 'mime' => 'text/x-typoscript',/* TODO: correct type */
131 'geshi' => 'typoscript'
135 'mime' => 'text/xml',