mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-03-03 03:39:21 -05:00
Config documentation update
This commit is contained in:
parent
dce5a73444
commit
edad5ba1e0
@ -42,13 +42,18 @@ defaultformatter = "plaintext"
|
|||||||
; size limit per paste or comment in bytes, defaults to 10 Mebibytes
|
; size limit per paste or comment in bytes, defaults to 10 Mebibytes
|
||||||
sizelimit = 10485760
|
sizelimit = 10485760
|
||||||
|
|
||||||
; template to include, default is "bootstrap" (tpl/bootstrap.php), also
|
; by default PrivateBin use "bootstrap" template (tpl/bootstrap.php).
|
||||||
|
; Optionally you can enable the template selection menu, which uses
|
||||||
|
; a session cookie to store the choice until the browser is closed.
|
||||||
|
templateselection = false
|
||||||
|
|
||||||
|
; set the template your installs defaults to, defaults to "bootstrap" (tpl/bootstrap.php), also
|
||||||
; available are "page" (tpl/page.php), the classic ZeroBin style and several
|
; available are "page" (tpl/page.php), the classic ZeroBin style and several
|
||||||
; bootstrap variants: "bootstrap-dark", "bootstrap-compact", "bootstrap-page",
|
; bootstrap variants: "bootstrap-dark", "bootstrap-compact", "bootstrap-page",
|
||||||
; which can be combined with "-dark" and "-compact" for "bootstrap-dark-page"
|
; which can be combined with "-dark" and "-compact" for "bootstrap-dark-page",
|
||||||
; and finally "bootstrap-compact-page" - previews at:
|
; "bootstrap-compact-page" and finally "bootstrap5" (tpl/bootstrap5.php) - previews at:
|
||||||
; https://privatebin.info/screenshots.html
|
; https://privatebin.info/screenshots.html
|
||||||
template = "bootstrap"
|
; templatedefault = "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
|
||||||
@ -146,6 +151,17 @@ plaintext = "Plain Text"
|
|||||||
syntaxhighlighting = "Source Code"
|
syntaxhighlighting = "Source Code"
|
||||||
markdown = "Markdown"
|
markdown = "Markdown"
|
||||||
|
|
||||||
|
[available_templates]
|
||||||
|
; List of available for selection templates when "templateselection" option is enabled
|
||||||
|
bootstrap
|
||||||
|
bootstrap-page
|
||||||
|
bootstrap-dark
|
||||||
|
bootstrap-dark-page
|
||||||
|
bootstrap-compact
|
||||||
|
bootstrap-compact-page
|
||||||
|
bootstrap5
|
||||||
|
page
|
||||||
|
|
||||||
[traffic]
|
[traffic]
|
||||||
; time limit between calls from the same IP address in seconds
|
; time limit between calls from the same IP address in seconds
|
||||||
; Set this to 0 to disable rate limiting.
|
; Set this to 0 to disable rate limiting.
|
||||||
|
@ -46,7 +46,7 @@ class Configuration
|
|||||||
'syntaxhighlightingtheme' => '',
|
'syntaxhighlightingtheme' => '',
|
||||||
'sizelimit' => 10485760,
|
'sizelimit' => 10485760,
|
||||||
'templateselection' => false,
|
'templateselection' => false,
|
||||||
'templatedefault' => 'bootstrap',
|
'templatedefault' => '',
|
||||||
'info' => 'More information on the <a href=\'https://privatebin.info/\'>project page</a>.',
|
'info' => 'More information on the <a href=\'https://privatebin.info/\'>project page</a>.',
|
||||||
'notice' => '',
|
'notice' => '',
|
||||||
'languageselection' => false,
|
'languageselection' => false,
|
||||||
@ -79,12 +79,14 @@ class Configuration
|
|||||||
'markdown' => 'Markdown',
|
'markdown' => 'Markdown',
|
||||||
),
|
),
|
||||||
'available_templates' => array(
|
'available_templates' => array(
|
||||||
'page',
|
|
||||||
'bootstrap',
|
'bootstrap',
|
||||||
'bootstrap-compact',
|
|
||||||
'bootstrap-dark',
|
|
||||||
'bootstrap-page',
|
'bootstrap-page',
|
||||||
|
'bootstrap-dark',
|
||||||
|
'bootstrap-dark-page',
|
||||||
|
'bootstrap-compact',
|
||||||
|
'bootstrap-compact-page',
|
||||||
'bootstrap5',
|
'bootstrap5',
|
||||||
|
'page',
|
||||||
),
|
),
|
||||||
'traffic' => array(
|
'traffic' => array(
|
||||||
'limit' => 10,
|
'limit' => 10,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user