Personnalisation de CTRLV (suite)
This commit is contained in:
parent
017b000305
commit
48c922d40d
18
cfg/conf.php
18
cfg/conf.php
|
@ -41,7 +41,7 @@ template = "bootstrap"
|
||||||
|
|
||||||
; (optional) info text to display
|
; (optional) info text to display
|
||||||
; use single, instead of double quotes for HTML attributes
|
; use single, instead of double quotes for HTML attributes
|
||||||
;info = "More information on the <a href='https://privatebin.info/'>project page</a>."
|
info = "Un service proposé par <a href='https://www.chalec.org/service-ctrlv.html'>Chalec</a>."
|
||||||
|
|
||||||
; (optional) notice to display
|
; (optional) notice to display
|
||||||
; notice = "Note: This is a test service: Data may be deleted anytime. Kittens will die if you abuse this service."
|
; 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
|
; by default PrivateBin will guess the visitors language based on the browsers
|
||||||
; settings. Optionally you can enable the language selection menu, which uses
|
; settings. Optionally you can enable the language selection menu, which uses
|
||||||
; a session cookie to store the choice until the browser is closed.
|
; 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
|
; 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
|
; 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
|
; (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
|
; 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.
|
; (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.
|
; 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
|
; (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
|
; a different user when the same username was used in a comment. It might be
|
||||||
|
@ -109,7 +109,7 @@ languageselection = false
|
||||||
[expire]
|
[expire]
|
||||||
; expire value that is selected per default
|
; expire value that is selected per default
|
||||||
; make sure the value exists in [expire_options]
|
; make sure the value exists in [expire_options]
|
||||||
default = "1week"
|
default = "1day"
|
||||||
|
|
||||||
[expire_options]
|
[expire_options]
|
||||||
; Set each one of these to the number of seconds in the expiration period,
|
; Set each one of these to the number of seconds in the expiration period,
|
||||||
|
@ -124,8 +124,8 @@ default = "1week"
|
||||||
|
|
||||||
[formatter_options]
|
[formatter_options]
|
||||||
; Set available formatters, their order and their labels
|
; Set available formatters, their order and their labels
|
||||||
plaintext = "Plain Text"
|
plaintext = "Texte simple"
|
||||||
syntaxhighlighting = "Source Code"
|
syntaxhighlighting = "Code source"
|
||||||
markdown = "Markdown"
|
markdown = "Markdown"
|
||||||
|
|
||||||
[traffic]
|
[traffic]
|
||||||
|
@ -144,12 +144,12 @@ dir = PATH "data"
|
||||||
; minimum time limit between two purgings of expired pastes, it is only
|
; minimum time limit between two purgings of expired pastes, it is only
|
||||||
; triggered when pastes are created
|
; triggered when pastes are created
|
||||||
; Set this to 0 to run a purge every time a paste is 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
|
; 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
|
; Set this to 0 to disable purging. Set it higher, if you are running a large
|
||||||
; site
|
; site
|
||||||
batchsize = 10
|
batchsize = 100
|
||||||
|
|
||||||
; directory to store the purge limit in
|
; directory to store the purge limit in
|
||||||
dir = PATH "data"
|
dir = PATH "data"
|
||||||
|
|
Loading…
Reference in New Issue