From 48c922d40d3c73efd7399fb924b4d06f280a8a65 Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Fri, 12 Aug 2022 15:31:48 +0200 Subject: [PATCH] Personnalisation de CTRLV (suite) --- cfg/conf.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/cfg/conf.php b/cfg/conf.php index 66db184..930ea79 100644 --- a/cfg/conf.php +++ b/cfg/conf.php @@ -41,7 +41,7 @@ template = "bootstrap" ; (optional) info text to display ; use single, instead of double quotes for HTML attributes -;info = "More information on the project page." +info = "Un service proposé par Chalec." ; (optional) notice to display ; notice = "Note: This is a test service: Data may be deleted anytime. Kittens will die if you abuse this service." @@ -49,11 +49,11 @@ template = "bootstrap" ; by default PrivateBin will guess the visitors language based on the browsers ; settings. Optionally you can enable the language selection menu, which uses ; a session cookie to store the choice until the browser is closed. -languageselection = false +languageselection = true ; set the language your installs defaults to, defaults to English ; if this is set and language selection is disabled, this will be the only language -; languagedefault = "en" +languagedefault = "fr" ; (optional) URL shortener address to offer after a new paste is created ; it is suggested to only use this with self-hosted shorteners as this will leak @@ -62,7 +62,7 @@ languageselection = false ; (optional) Let users create a QR code for sharing the paste URL with one click. ; It works both when a new paste is created and when you view a paste. -; qrcode = true +qrcode = true ; (optional) IP based icons are a weak mechanism to detect if a comment was from ; a different user when the same username was used in a comment. It might be @@ -109,7 +109,7 @@ languageselection = false [expire] ; expire value that is selected per default ; make sure the value exists in [expire_options] -default = "1week" +default = "1day" [expire_options] ; Set each one of these to the number of seconds in the expiration period, @@ -124,8 +124,8 @@ default = "1week" [formatter_options] ; Set available formatters, their order and their labels -plaintext = "Plain Text" -syntaxhighlighting = "Source Code" +plaintext = "Texte simple" +syntaxhighlighting = "Code source" markdown = "Markdown" [traffic] @@ -144,12 +144,12 @@ dir = PATH "data" ; minimum time limit between two purgings of expired pastes, it is only ; triggered when pastes are created ; Set this to 0 to run a purge every time a paste is created. -limit = 300 +limit = 0 ; maximum amount of expired pastes to delete in one purge ; Set this to 0 to disable purging. Set it higher, if you are running a large ; site -batchsize = 10 +batchsize = 100 ; directory to store the purge limit in dir = PATH "data"