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 'secure' => 0, // 0 = public, no authentication, 1 = protect adds/edits/deletes, 2 = use authentication
17 'userlist' => false, // true = user must be explicitly defined, false = anyone allowed, but they must authenticate
18 'anonymousEmail' => 'anonymous@phorkie' // Email for non-authenticated commits
20 $GLOBALS['phorkie']['tools'] = array(
21 '\\phorkie\\Tool_Xmllint' => true,
22 '\\phorkie\\Tool_PHPlint' => true,
25 * Array of supported file types / languages.
26 * Key is the file extension
28 $GLOBALS['phorkie']['languages'] = array(
36 'mime' => 'text/diff',
41 'mime' => 'text/html',
46 'mime' => 'text/html',
51 'title' => 'JPEG image',
52 'mime' => 'image/jpeg',
61 'title' => 'Javascript',
62 'mime' => 'application/javascript',
63 'geshi' => 'javascript'
67 'mime' => 'application/x-perl',
72 'mime' => 'text/x-php',
76 'title' => 'PNG image',
77 'mime' => 'image/png',
81 'title' => 'Ruby/Rails',
82 'mime' => 'text/x-ruby', /* Is this an acceptable mime type? */
86 'title' => 'reStructuredText',
87 'mime' => 'text/x-rst',
89 'renderer' => '\\phorkie\\Renderer_ReStructuredText',
92 'title' => 'Shell script (Bash)',
93 'mime' => 'text/x-shellscript',
98 'mime' => 'text/x-sql',
102 'title' => 'SVG image',
103 'mime' => 'image/svg+xml',
107 'title' => 'Text (plain)',
108 'mime' => 'text/plain',
112 'title' => 'TypoScript',
113 'mime' => 'text/x-typoscript',/* TODO: correct type */
114 'geshi' => 'typoscript'
118 'mime' => 'text/xml',