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