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