2017-07-14 19:29:52 +02:00
|
|
|
# This is the main configuration file of your Dancer2 app
|
|
|
|
# env-related settings should go to environments/$env.yml
|
|
|
|
# all the settings in this file will be loaded at Dancer's startup.
|
|
|
|
|
|
|
|
# Your application's name
|
|
|
|
appname: "cyberman"
|
|
|
|
|
|
|
|
# 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"
|
|
|
|
|
|
|
|
# template engine
|
|
|
|
# simple: default and very basic template engine
|
|
|
|
# template_toolkit: TT
|
|
|
|
|
2017-07-14 21:06:28 +02:00
|
|
|
template: "template_toolkit"
|
|
|
|
engines:
|
|
|
|
template:
|
|
|
|
template_toolkit:
|
|
|
|
start_tag: '<%'
|
|
|
|
end_tag: '%>'
|
2017-07-14 19:29:52 +02:00
|
|
|
|
2017-07-14 21:06:28 +02:00
|
|
|
auto_page: 1
|
2017-07-14 19:29:52 +02:00
|
|
|
|
2017-07-15 20:24:05 +02:00
|
|
|
plugins:
|
|
|
|
Database:
|
|
|
|
driver: 'SQLite'
|
|
|
|
dbname: 'db.sqlite'
|
|
|
|
log_queries: 1
|