c1446cc2d550e46e914fb0179cb4489030d423fc
[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 );
13 $GLOBALS['phorkie']['tools'] = array(
14     '\\phorkie\\Tool_Xmllint' => true,
15     '\\phorkie\\Tool_PHPlint' => true,
16 );
17 /**
18  * Array of supported file types / languages.
19  * Key is the file extension
20  */
21 $GLOBALS['phorkie']['languages'] = array(
22     'css' => array(
23         'title' => 'CSS',
24         'mime'  => 'text/css',
25         'geshi' => 'css'
26     ),
27     'diff' => array(
28         'title' => 'Diff',
29         'mime'  => 'text/diff',
30         'geshi' => 'diff'
31     ),
32     'htm' => array(
33         'title' => 'HTML',
34         'mime'  => 'text/html',
35         'geshi' => 'xml'
36     ),
37     'html' => array(
38         'title' => 'HTML',
39         'mime'  => 'text/html',
40         'geshi' => 'xml',
41         'show'  => false
42     ),
43     'jpg' => array(
44         'title' => 'JPEG image',
45         'mime'  => 'image/jpeg',
46         'show'  => false
47     ),
48     'js' => array(
49         'title' => 'Javascript',
50         'mime'  => 'application/javascript',
51         'geshi' => 'javascript'
52     ),
53     'ini' => array(
54         'title' => 'Ini',
55         'mime'  => 'text/ini',
56         'geshi' => 'ini'
57     ),
58     'php' => array(
59         'title' => 'PHP',
60         'mime'  => 'text/x-php',
61         'geshi' => 'php'
62     ),
63     'png' => array(
64         'title' => 'PNG image',
65         'mime'  => 'image/png',
66         'show'  => false
67     ),
68     'rst' => array(
69         'title' => 'reStructuredText',
70         'mime'  => 'text/x-rst',
71         'geshi' => 'rst',
72         'renderer' => '\\phorkie\\Renderer_ReStructuredText',
73     ),
74     'sh' => array(
75         'title' => 'Shell script (Bash)',
76         'mime'  => 'text/x-shellscript',
77         'geshi' => 'bash'
78     ),
79     'sql' => array(
80         'title' => 'SQL',
81         'mime'  => 'text/x-sql',
82         'geshi' => 'sql'
83     ),
84     'svg' => array(
85         'title' => 'SVG image',
86         'mime'  => 'image/svg+xml',
87         'show'  => false
88     ),
89     'ts' => array(
90         'title' => 'TypoScript',
91         'mime'  => 'text/plain',/* TODO: correct type */
92         'geshi' => 'typoscript'
93     ),
94     'txt' => array(
95         'title' => 'Text (plain)',
96         'mime'  => 'text/plain',
97         'geshi' => 'txt'
98     ),
99     'xml' => array(
100         'title' => 'XML',
101         'mime'  => 'text/xml',
102         'geshi' => 'xml'
103     ),
104 );
105 ?>