X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/72dac890a041b8261262c7df7d7f8a8a816a146b..f88c38723e3c807769627aff2866fc3cf5c8472f:/data/config.default.php diff --git a/data/config.default.php b/data/config.default.php index a087767..070070d 100644 --- a/data/config.default.php +++ b/data/config.default.php @@ -4,13 +4,20 @@ $GLOBALS['phorkie']['cfg'] = array( 'gitdir' => __DIR__ . '/../repos/git/', 'workdir' => __DIR__ . '/../repos/work/', 'tpl' => __DIR__ . '/templates/', - 'css' => 'http://twitter.github.com/bootstrap/assets/css/bootstrap.css', + 'baseurl' => '/', + 'css' => '', + 'iconpng' => '', 'title' => 'phorkie', 'topbar' => '', 'setupcheck' => true, 'elasticsearch' => null, 'geshi' => 'MediaWiki/geshi/geshi/geshi.php', - 'index' => 'new'//"new" or "list" + 'index' => 'new',//"new" or "list" + 'perPage' => 10, + 'webhooks' => array( + /* array of urls that get called when + a paste is created, edited or deleted */ + ) ); $GLOBALS['phorkie']['auth'] = array( // 0 = public, no authentication, 1 = protect adds/edits/deletes, @@ -66,6 +73,17 @@ $GLOBALS['phorkie']['languages'] = array( 'mime' => 'application/javascript', 'geshi' => 'javascript' ), + 'json' => array( + 'title' => 'Javascript', + 'mime' => 'application/javascript', + 'geshi' => 'javascript', + 'show' => false + ), + 'md' => array( + 'title' => 'Markdown', + 'mime' => 'text/x-markdown', + 'renderer' => '\\phorkie\\Renderer_Markdown' + ), 'pl' => array( 'title' => 'Perl', 'mime' => 'application/x-perl', @@ -117,6 +135,11 @@ $GLOBALS['phorkie']['languages'] = array( 'mime' => 'text/x-typoscript',/* TODO: correct type */ 'geshi' => 'typoscript' ), + 'wsdl' => array( + 'title' => 'WSDL', + 'mime' => 'application/wsdl+xml', + 'geshi' => 'xml' + ), 'xml' => array( 'title' => 'XML', 'mime' => 'text/xml',