Implement YAML config loader
This commit is contained in:
parent
14c22e0e6c
commit
6c41f06105
14 changed files with 169 additions and 9 deletions
23
config/app.example.yml
Normal file
23
config/app.example.yml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# This is an example config file for MailAccountAdmin.
|
||||
# Copy this file to /config/app.yml and change as needed.
|
||||
# Settings that are commented out represent the default values.
|
||||
|
||||
# -- App settings
|
||||
# appTitle: MailAccountAdmin
|
||||
# environment: production
|
||||
# debug: false
|
||||
# timezone: UTC
|
||||
# dateTimeFormat: r
|
||||
|
||||
# -- Twig settings
|
||||
twig:
|
||||
# Cache directory for Twig templates (default: unset, which means no cache is used)
|
||||
cacheDir: .twig.cache
|
||||
|
||||
# -- Database settings
|
||||
database:
|
||||
host: localhost
|
||||
port: 3306
|
||||
name: mailusers
|
||||
username: mailaccountadmin
|
||||
password: very_secret_password
|
||||
Loading…
Add table
Add a link
Reference in a new issue