git.cweiske.de
/
phorkie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Configurable index page
[phorkie.git]
/
data
/
config.default.php
diff --git
a/data/config.default.php
b/data/config.default.php
index 17e4a498b2d255b595e660bc149971df87ea7390..c40c6900b50ace84e623da721a6909d22407ced9 100644
(file)
--- a/
data/config.default.php
+++ b/
data/config.default.php
@@
-9,6
+9,8
@@
$GLOBALS['phorkie']['cfg'] = array(
'topbar' => '',
'setupcheck' => true,
'elasticsearch' => null,
'topbar' => '',
'setupcheck' => true,
'elasticsearch' => null,
+ 'geshi' => 'MediaWiki/geshi/geshi/geshi.php',
+ 'index' => 'new'
);
$GLOBALS['phorkie']['tools'] = array(
'\\phorkie\\Tool_Xmllint' => true,
);
$GLOBALS['phorkie']['tools'] = array(
'\\phorkie\\Tool_Xmllint' => true,
@@
-55,6
+57,11
@@
$GLOBALS['phorkie']['languages'] = array(
'mime' => 'application/javascript',
'geshi' => 'javascript'
),
'mime' => 'application/javascript',
'geshi' => 'javascript'
),
+ 'pl' => array(
+ 'title' => 'Perl',
+ 'mime' => 'application/x-perl',
+ 'geshi' => 'pl'
+ ),
'php' => array(
'title' => 'PHP',
'mime' => 'text/x-php',
'php' => array(
'title' => 'PHP',
'mime' => 'text/x-php',
@@
-65,6
+72,11
@@
$GLOBALS['phorkie']['languages'] = array(
'mime' => 'image/png',
'show' => false
),
'mime' => 'image/png',
'show' => false
),
+ 'rb' => array(
+ 'title' => 'Ruby/Rails',
+ 'mime' => 'text/x-ruby', /* Is this an acceptable mime type? */
+ 'geshi' => 'rails'
+ ),
'rst' => array(
'title' => 'reStructuredText',
'mime' => 'text/x-rst',
'rst' => array(
'title' => 'reStructuredText',
'mime' => 'text/x-rst',
@@
-86,20
+98,20
@@
$GLOBALS['phorkie']['languages'] = array(
'mime' => 'image/svg+xml',
'show' => false
),
'mime' => 'image/svg+xml',
'show' => false
),
- 'ts' => array(
- 'title' => 'TypoScript',
- 'mime' => 'text/plain',/* TODO: correct type */
- 'geshi' => 'typoscript'
- ),
'txt' => array(
'title' => 'Text (plain)',
'mime' => 'text/plain',
'geshi' => 'txt'
),
'txt' => array(
'title' => 'Text (plain)',
'mime' => 'text/plain',
'geshi' => 'txt'
),
+ 'ts' => array(
+ 'title' => 'TypoScript',
+ 'mime' => 'text/x-typoscript',/* TODO: correct type */
+ 'geshi' => 'typoscript'
+ ),
'xml' => array(
'title' => 'XML',
'mime' => 'text/xml',
'geshi' => 'xml'
),
);
'xml' => array(
'title' => 'XML',
'mime' => 'text/xml',
'geshi' => 'xml'
),
);
-?>
\ No newline at end of file
+?>