b07f042c76ef4a0fce229449ddba0c36202fa5af
[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',
11     '\\phorkie\\Tool_PHPlint',
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     'js' => array(
40         'title' => 'Javascript',
41         'mime'  => 'application/javascript',
42         'geshi' => 'javascript'
43     ),
44     'ini' => array(
45         'title' => 'Ini',
46         'mime'  => 'text/ini',
47         'geshi' => 'ini'
48     ),
49     'php' => array(
50         'title' => 'PHP',
51         'mime'  => 'text/x-php',
52         'geshi' => 'php'
53     ),
54     'rst' => array(
55         'title' => 'reStructuredText',
56         'mime'  => 'text/x-rst',
57         'geshi' => 'rst',
58         'renderer' => '\\phorkie\\Renderer_ReStructuredText',
59     ),
60     'sh' => array(
61         'title' => 'Shell script (Bash)',
62         'mime'  => 'text/x-shellscript',
63         'geshi' => 'bash'
64     ),
65     'sql' => array(
66         'title' => 'SQL',
67         'mime'  => 'text/x-sql',
68         'geshi' => 'sql'
69     ),
70     'ts' => array(
71         'title' => 'TypoScript',
72         'mime'  => 'text/plain',/* TODO: correct type */
73         'geshi' => 'typoscript'
74     ),
75     'txt' => array(
76         'title' => 'Text (plain)',
77         'mime'  => 'text/plain',
78         'geshi' => 'txt'
79     ),
80     'xml' => array(
81         'title' => 'XML',
82         'mime'  => 'text/xml',
83         'geshi' => 'xml'
84     ),
85 );
86 ?>