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