forked from manwar/Dancer2-Cookbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
34 lines (29 loc) · 768 Bytes
/
config.yml
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
# Your application's name
appname: "bookstore"
# The default layout to use for your application (located in views/layouts/main.tt)
layout: "main"
# when the charset is set to UTF-8 Dancer2 will handle for you
# all the magic of encoding and decoding. You should not care
# about unicode within your app when this setting is set (recommended).
charset: "UTF-8"
session: Simple
template: "template_toolkit"
engines:
template:
template_toolkit:
start_tag: '<%'
end_tag: '%>'
plugins:
Captcha:
new:
width: 160
height: 75
lines: 5
gd_font: 'giant'
create: [ 'normal', 'default' ]
out:
force: 'png'
particle: [ 100 ]
DBIC:
bookstore:
dsn: "dbi:SQLite:dbname=bookstore.db"