Implement YAML config loader

This commit is contained in:
Lexi / Zoe 2021-09-25 23:56:04 +02:00
parent 14c22e0e6c
commit 6c41f06105
Signed by: binaryDiv
GPG key ID: F8D4956E224DA232
14 changed files with 169 additions and 9 deletions

23
config/app.example.yml Normal file
View 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