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