Updated Configuration (markdown)

master
El RIDO 9 years ago
parent 19ed795516
commit aefd7a4222

@ -74,6 +74,12 @@ The option `dir` controls where the lock file is stored. Note that this director
The base64.js library version, defaults to `2.1.9`. Use `1.7` if you are upgrading from a ZeroBin Alpha 0.19 installation for compatibility with your existing pastes.
### languageselection
By default ZeroBin tries to detect the browser language of the visitors if such a HTTP header is sent and falls back to English language if no such header is present or no matching translation was found.
Optionally `languageselection` enables drop down can be enabled. It is disabled by default, as it makes use of a session cookie named "lang" to persist the selected language between calls. It is deleted when the browser is closed.
### model
The sections `[model]` and `[model_options]` control how your pastes are stored. Currently ZeroBin stores its pastes as flat files by default (`[model]` section, `class = zerobin_data`) and the option `dir` in the section `[model_options]` tells it in what folder to store them. Note that this directory needs to be writable for the process running PHP (i.e. your webserver, FPM or CGI process).

Loading…
Cancel
Save