X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/43ef6e8dfd4345262f7b974506261e0827bfecae..53cddb9c9e119561458dff43a4b1be67de73cf4f:/data/config.default.php diff --git a/data/config.default.php b/data/config.default.php index 2e588fa..fce74c1 100644 --- a/data/config.default.php +++ b/data/config.default.php @@ -1,16 +1,28 @@ false, - 'gitdir' => $phorkieDir . 'repos/git/', - 'workdir' => $phorkieDir . 'repos/work/', + 'git' => array( + 'public' => '%BASEURL%' . 'repos/git/', + 'private' => null, + ), + 'cachedir' => $phorkieDir . 'cache/', + 'gitdir' => $wwwDir . 'repos/git/', + 'workdir' => $wwwDir . 'repos/work/', 'tpl' => __DIR__ . '/templates/', 'baseurl' => null, 'avatars' => true, @@ -22,6 +34,7 @@ $GLOBALS['phorkie']['cfg'] = array( 'elasticsearch' => null, 'index' => 'new',//"new" or "list" 'perPage' => 10, + 'randomIds' => false, 'defaultListPage' => 'last',//a number or "last" 'notificator' => array( /* send out pingback/webmentions when a remote paste is forked */ @@ -31,6 +44,7 @@ $GLOBALS['phorkie']['cfg'] = array( a paste is created, edited or deleted */ ) ), + 'geshi' => 'geshi.php', ); $GLOBALS['phorkie']['auth'] = array( // 0 = public, no authentication, 1 = protect adds/edits/deletes, @@ -50,6 +64,12 @@ $GLOBALS['phorkie']['tools'] = array( * Key is the file extension */ $GLOBALS['phorkie']['languages'] = array( + 'conf' => array( + 'title' => 'Configuration', + 'mime' => 'text/ini', + 'geshi' => 'ini', + 'show' => false + ), 'css' => array( 'title' => 'CSS', 'mime' => 'text/css', @@ -141,7 +161,8 @@ $GLOBALS['phorkie']['languages'] = array( 'txt' => array( 'title' => 'Text (plain)', 'mime' => 'text/plain', - 'geshi' => 'txt' + 'geshi' => 'txt', + 'renderer' => '\\phorkie\\Renderer_Plaintext' ), 'ts' => array( 'title' => 'TypoScript',