data/templates/login.htm - CLEAN: removed extraneous formatting and unneeded sidebar
[phorkie.git] / data / config.default.php
1 <?php
2 $GLOBALS['phorkie']['cfg'] = array(
3     'debug'         => false,
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',
8     'title'         => 'phorkie',
9     'topbar'        => '',
10     'setupcheck'    => true,
11     'elasticsearch' => null,
12     'geshi'         => 'MediaWiki/geshi/geshi/geshi.php',
13     'index'         => 'new'//"new" or "list"
14 );
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
19 );
20 $GLOBALS['phorkie']['tools'] = array(
21     '\\phorkie\\Tool_Xmllint' => true,
22     '\\phorkie\\Tool_PHPlint' => true,
23 );
24 /**
25  * Array of supported file types / languages.
26  * Key is the file extension
27  */
28 $GLOBALS['phorkie']['languages'] = array(
29     'css' => array(
30         'title' => 'CSS',
31         'mime'  => 'text/css',
32         'geshi' => 'css'
33     ),
34     'diff' => array(
35         'title' => 'Diff',
36         'mime'  => 'text/diff',
37         'geshi' => 'diff'
38     ),
39     'htm' => array(
40         'title' => 'HTML',
41         'mime'  => 'text/html',
42         'geshi' => 'xml'
43     ),
44     'html' => array(
45         'title' => 'HTML',
46         'mime'  => 'text/html',
47         'geshi' => 'xml',
48         'show'  => false
49     ),
50     'jpg' => array(
51         'title' => 'JPEG image',
52         'mime'  => 'image/jpeg',
53         'show'  => false
54     ),
55     'ini' => array(
56         'title' => 'Ini',
57         'mime'  => 'text/ini',
58         'geshi' => 'ini'
59     ),
60     'js' => array(
61         'title' => 'Javascript',
62         'mime'  => 'application/javascript',
63         'geshi' => 'javascript'
64     ),
65     'pl' => array(
66         'title' => 'Perl',
67         'mime'  => 'application/x-perl',
68         'geshi' => 'pl'
69     ),
70     'php' => array(
71         'title' => 'PHP',
72         'mime'  => 'text/x-php',
73         'geshi' => 'php'
74     ),
75     'png' => array(
76         'title' => 'PNG image',
77         'mime'  => 'image/png',
78         'show'  => false
79     ),
80     'rb' => array(
81         'title' => 'Ruby/Rails',
82         'mime'  => 'text/x-ruby', /* Is this an acceptable mime type? */
83         'geshi' => 'rails'
84     ),
85     'rst' => array(
86         'title' => 'reStructuredText',
87         'mime'  => 'text/x-rst',
88         'geshi' => 'rst',
89         'renderer' => '\\phorkie\\Renderer_ReStructuredText',
90     ),
91     'sh' => array(
92         'title' => 'Shell script (Bash)',
93         'mime'  => 'text/x-shellscript',
94         'geshi' => 'bash'
95     ),
96     'sql' => array(
97         'title' => 'SQL',
98         'mime'  => 'text/x-sql',
99         'geshi' => 'sql'
100     ),
101     'svg' => array(
102         'title' => 'SVG image',
103         'mime'  => 'image/svg+xml',
104         'show'  => false
105     ),
106     'txt' => array(
107         'title' => 'Text (plain)',
108         'mime'  => 'text/plain',
109         'geshi' => 'txt'
110     ),
111     'ts' => array(
112         'title' => 'TypoScript',
113         'mime'  => 'text/x-typoscript',/* TODO: correct type */
114         'geshi' => 'typoscript'
115     ),
116     'xml' => array(
117         'title' => 'XML',
118         'mime'  => 'text/xml',
119         'geshi' => 'xml'
120     ),
121 );
122 ?>