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