separate git and work directories - gives nicer public git clone urls
[phorkie.git] / data / config.default.php
1 <?php
2 $GLOBALS['phorkie']['cfg'] = array(
3     'gitdir'  => __DIR__ . '/../repos/git/',
4     'workdir' => __DIR__ . '/../repos/work/',
5     'tpl'     => __DIR__ . '/templates/',
6     'css'     => 'http://twitter.github.com/bootstrap/assets/css/bootstrap.css',
7 );
8 /**
9  * Array of supported file types / languages.
10  * Key is the file extension
11  */
12 $GLOBALS['phorkie']['languages'] = array(
13     'css' => array(
14         'title' => 'CSS',
15         'mime'  => 'text/css',
16         'geshi' => 'css'
17     ),
18     'diff' => array(
19         'title' => 'Diff',
20         'mime'  => 'text/diff',
21         'geshi' => 'diff'
22     ),
23     'htm' => array(
24         'title' => 'HTML',
25         'mime'  => 'text/html',
26         'geshi' => 'xml'
27     ),
28     'html' => array(
29         'title' => 'HTML',
30         'mime'  => 'text/html',
31         'geshi' => 'xml',
32         'show'  => false
33     ),
34     'js' => array(
35         'title' => 'Javascript',
36         'mime'  => 'application/javascript',
37         'geshi' => 'javascript'
38     ),
39     'ini' => array(
40         'title' => 'Ini',
41         'mime'  => 'text/ini',
42         'geshi' => 'ini'
43     ),
44     'php' => array(
45         'title' => 'PHP',
46         'mime'  => 'text/x-php',
47         'geshi' => 'php'
48     ),
49     'rst' => array(
50         'title' => 'reStructuredText',
51         'mime'  => 'text/x-rst',
52         'geshi' => 'rst',
53         'renderer' => '\\phorkie\\Renderer_ReStructuredText',
54     ),
55     'sh' => array(
56         'title' => 'Shell script (Bash)',
57         'mime'  => 'text/x-shellscript',
58         'geshi' => 'bash'
59     ),
60     'sql' => array(
61         'title' => 'SQL',
62         'mime'  => 'text/x-sql',
63         'geshi' => 'sql'
64     ),
65     'ts' => array(
66         'title' => 'TypoScript',
67         'mime'  => 'text/plain',/* TODO: correct type */
68         'geshi' => 'typoscript'
69     ),
70     'txt' => array(
71         'title' => 'Text (plain)',
72         'mime'  => 'text/plain',
73         'geshi' => 'txt'
74     ),
75     'xml' => array(
76         'title' => 'XML',
77         'mime'  => 'text/xml',
78         'geshi' => 'xml'
79     ),
80 );
81 ?>