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