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 'anonymousName' => 'Anonymous', // Email for non-authenticated commits
19 'anonymousEmail' => 'anonymous@phorkie' // Email for non-authenticated commits
21 $GLOBALS['phorkie']['tools'] = array(
22 '\\phorkie\\Tool_Xmllint' => true,
23 '\\phorkie\\Tool_PHPlint' => true,
26 * Array of supported file types / languages.
27 * Key is the file extension
29 $GLOBALS['phorkie']['languages'] = array(
37 'mime' => 'text/diff',
42 'mime' => 'text/html',
47 'mime' => 'text/html',
52 'title' => 'JPEG image',
53 'mime' => 'image/jpeg',
62 'title' => 'Javascript',
63 'mime' => 'application/javascript',
64 'geshi' => 'javascript'
68 'mime' => 'application/x-perl',
73 'mime' => 'text/x-php',
77 'title' => 'PNG image',
78 'mime' => 'image/png',
82 'title' => 'Ruby/Rails',
83 'mime' => 'text/x-ruby', /* Is this an acceptable mime type? */
87 'title' => 'reStructuredText',
88 'mime' => 'text/x-rst',
90 'renderer' => '\\phorkie\\Renderer_ReStructuredText',
93 'title' => 'Shell script (Bash)',
94 'mime' => 'text/x-shellscript',
99 'mime' => 'text/x-sql',
103 'title' => 'SVG image',
104 'mime' => 'image/svg+xml',
108 'title' => 'Text (plain)',
109 'mime' => 'text/plain',
113 'title' => 'TypoScript',
114 'mime' => 'text/x-typoscript',/* TODO: correct type */
115 'geshi' => 'typoscript'
119 'mime' => 'text/xml',