]> git.phdru.name Git - m_librarian.git/blob - sample/m_librarian.conf
cc8f3f5705b88e8463a53c43a227d63b6564a1ba
[m_librarian.git] / sample / m_librarian.conf
1 [database]
2 ; DB URI syntax examples:
3
4 ; URI = mysql://host/database?debug=1
5 ; URI = mysql://user:password@host/database
6 ; URI = postgres:///full/path/to/socket/database
7 ; URI = postgres://host:5432/database
8 ; URI = postgres://user@host/database?debug=&cache=
9 ; URI = sqlite:///full/path/to/database
10 ; URI = sqlite:/C:/full/path/to/database
11
12 [library]
13 path = /var/lib/LRE_Flibusta
14
15 [filters]
16 # Space-separated list of language codes
17 lang = ru en
18
19 # Show/hide deleted books; 0 - hide, 1 - show
20 deleted = 0
21
22 # Default value to use filters in search forms
23 use_in_search_forms = 1
24
25 # Use filters in lists of books
26 use_in_books_list = 1
27
28 [download]
29 # Download formats:
30 # %a - author (one of)
31 # %e - file extension
32 # %f - file name in archive
33 # %G - genre (one of), name
34 # %g - genre (one of), title
35 # %l - language
36 # %n - series number (or 0)
37 # %s - series
38 # %t - title
39 # Examples:
40 # format = %f (this is the default)
41 # format = %a/%s/%n %t
42
43 # Directory to download books to
44 path = /tmp