X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/bc5dc89cb33243ff64064875b4bc2c629d812bb9..4dc235ae9ebc5126b93a176bd76b42683946da38:/data/config.default.php diff --git a/data/config.default.php b/data/config.default.php index 009b572..85713cd 100644 --- a/data/config.default.php +++ b/data/config.default.php @@ -12,7 +12,12 @@ $GLOBALS['phorkie']['cfg'] = array( '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, @@ -130,10 +135,18 @@ $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', 'geshi' => 'xml' ), ); + +//needed for UTF-8 characters in file names +setlocale(LC_CTYPE, 'en_US.UTF_8'); ?>