Change config

This commit is contained in:
2025-03-31 21:49:00 +02:00
parent 0d414db9c9
commit 78763bfcde

View File

@@ -45,7 +45,7 @@ sizelimit = 10485760
; by default PrivateBin use "bootstrap" template (tpl/bootstrap.php). ; by default PrivateBin use "bootstrap" template (tpl/bootstrap.php).
; Optionally you can enable the template selection menu, which uses ; Optionally you can enable the template 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.
templateselection = true templateselection = false
; List of available for selection templates when "templateselection" option is enabled ; List of available for selection templates when "templateselection" option is enabled
availabletemplates[] = "bootstrap" availabletemplates[] = "bootstrap"
@@ -75,7 +75,7 @@ template = "bootstrap5"
; 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 = true languageselection = false
; 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
@@ -92,7 +92,7 @@ qrcode = true
; (optional) Let users send an email sharing the paste URL with one click. ; (optional) Let users send an email 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.
; email = true email = 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 get ; a different user when the same username was used in a comment. It might get
@@ -152,8 +152,8 @@ default = "1week"
1week = 604800 1week = 604800
; Well this is not *exactly* one month, it's 30 days: ; Well this is not *exactly* one month, it's 30 days:
1month = 2592000 1month = 2592000
1year = 31536000 ; 1year = 31536000
never = 0 ; never = 0
[formatter_options] [formatter_options]
; Set available formatters, their order and their labels ; Set available formatters, their order and their labels