Use a cleaner user interface — dropdowns
[wnstats.git] / config.yml.dist
blob6fb2fcb25d5135ec03b3df5e58222861e090c38f
1 # This is the main configuration file of your Dancer app
2 # env-related settings should go to environments/$env.yml
3 # all the settings in this file will be loaded at Dancer's startup.
5 # Your application's name
6 appname: "wnstats"
8 # The default layout to use for your application (located in
9 # views/layouts/main.tt)
10 layout: "main"
12 # when the charset is set to UTF-8 Dancer will handle for you
13 # all the magic of encoding and decoding. You should not care
14 # about unicode within your app when this setting is set (recommended).
15 charset: "UTF-8"
17 # template engine
18 # simple: default and very basic template engine
19 # template_toolkit: TT
21 #template: "simple"
23 template: "template_toolkit"
24 engines:
25    template_toolkit:
26      encoding:  'utf8'
27      start_tag: '[%'
28      end_tag:   '%]'
30 serializer: 'JSON'
32 plugins:
33   #ajax:
34     #content_type: 'application/json'
35     #serializer: 'JSON'
36   #Database:
37   #  driver: 'SQLite'
38   #  database: 'some.db'
39   Database:
40       driver: 'mysql'
41       database: 'charts'
42       host: 'localhost'
43       port: 3306
44       username: 'user'
45       password: 'pass'
46       on_connect_do: ["SET NAMES 'utf8'", "SET CHARACTER SET 'utf8'"]
47       dbi_params:
48             RaiseError: 1
49             AutoCommit: 1
50   NYTProf:
51     profdir: '/tmp/profiledata'
52     nytprofhtmlpath: '/usr/local/bin/nytprofhtml'