]> git.phdru.name Git - m_librarian.git/blob - sample/m_librarian.conf
Feat(web): Configure columns for author and book tables
[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 [columns]
29 # Full list of author columns:
30 # columns = surname name misc_name fullname count
31 # Default column is fullname
32 author = fullname count
33 # Full list of book columns:
34 # columns = title series ser_no archive file size lib_id deleted date
35 # Default column is just title
36 book = ser_no title
37
38 [download]
39 # Download formats:
40 # %a - author (one of)
41 # %e - file extension
42 # %f - file name in archive
43 # %G - genre (one of), name
44 # %g - genre (one of), title
45 # %l - language
46 # %n - series number (or 0)
47 # %s - series
48 # %t - title
49 # Examples:
50 # format = %f (this is the default)
51 # format = %a/%s/%n %t
52
53 # Directory to download books to
54 path = /tmp