show exception stack traces when debugging is on
[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 );
9 /**
10  * Array of supported file types / languages.
11  * Key is the file extension
12  */
13 $GLOBALS['phorkie']['languages'] = array(
14     'css' => array(
15         'title' => 'CSS',
16         'mime'  => 'text/css',
17         'geshi' => 'css'
18     ),
19     'diff' => array(
20         'title' => 'Diff',
21         'mime'  => 'text/diff',
22         'geshi' => 'diff'
23     ),
24     'htm' => array(
25         'title' => 'HTML',
26         'mime'  => 'text/html',
27         'geshi' => 'xml'
28     ),
29     'html' => array(
30         'title' => 'HTML',
31         'mime'  => 'text/html',
32         'geshi' => 'xml',
33         'show'  => false
34     ),
35     'js' => array(
36         'title' => 'Javascript',
37         'mime'  => 'application/javascript',
38         'geshi' => 'javascript'
39     ),
40     'ini' => array(
41         'title' => 'Ini',
42         'mime'  => 'text/ini',
43         'geshi' => 'ini'
44     ),
45     'php' => array(
46         'title' => 'PHP',
47         'mime'  => 'text/x-php',
48         'geshi' => 'php'
49     ),
50     'rst' => array(
51         'title' => 'reStructuredText',
52         'mime'  => 'text/x-rst',
53         'geshi' => 'rst',
54         'renderer' => '\\phorkie\\Renderer_ReStructuredText',
55     ),
56     'sh' => array(
57         'title' => 'Shell script (Bash)',
58         'mime'  => 'text/x-shellscript',
59         'geshi' => 'bash'
60     ),
61     'sql' => array(
62         'title' => 'SQL',
63         'mime'  => 'text/x-sql',
64         'geshi' => 'sql'
65     ),
66     'ts' => array(
67         'title' => 'TypoScript',
68         'mime'  => 'text/plain',/* TODO: correct type */
69         'geshi' => 'typoscript'
70     ),
71     'txt' => array(
72         'title' => 'Text (plain)',
73         'mime'  => 'text/plain',
74         'geshi' => 'txt'
75     ),
76     'xml' => array(
77         'title' => 'XML',
78         'mime'  => 'text/xml',
79         'geshi' => 'xml'
80     ),
81 );
82 ?>