-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.js.sample
62 lines (61 loc) · 2.02 KB
/
config.js.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"mb" : {
"media" : "/media",
"root" : "",
"footer" : "",
"uploads" : "/srv/mb/name_of_mb/media/uploads/",
"admin_login" : "Admin",
"admin_password" : "Password",
"languages" : {
"en" : "en_US.UTF-8" ,
"ru" : "ru_RU.UTF-8"
},
// Choose your datebase type
//"connection_string" : "sqlite3:db=mb.db;@pool_size=10"
//"connection_string" : "mysql:database='name_of_datebase';user='user_of_datebase';password='password_of_database';@pool_size=10"
},
"service" : {
"api" : "fastcgi",
"socket" : "/tmp/mb-fcgi.sock"
},
"views" : {
"paths" : [ "/usr/local/lib/mb" ],
"skins" : [ "simple" ],
},
"file_server" : {
"enable" : true,
"document_root" : "/usr/local/share/"
//"document_root" : "/var/www/"
},
"session" : {
"expire" : "renew",
"timeout" : 604800,
"location" : "client",
"client" : {
"cbc" : "aes",
//"cbc_key" : "Your_cbc_key",
"hmac" : "sha1",
//"hmac_key" : "Your hmac_key"
}
},
"cache" : {
"backend" : "thread_shared",
"limit" : 100,
},
"security" : {
"csrf" : {
"enable" : true,
"exposed" : true
}
},
"localization" : {
"messages" : {
"paths" : [ "/usr/local/share/locale" ],
"domains" : [ "mb" ]
},
"locales" : [
"ru_RU.UTF-8",
"en_US.UTF-8"
]
}
}