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