restore full database settings

This commit is contained in:
Nicolas Lœuillet 2015-02-04 21:26:15 +01:00
parent eacaf7f864
commit 61b9fdd5e4
2 changed files with 9 additions and 5 deletions

View file

@ -65,12 +65,12 @@ assetic:
doctrine:
dbal:
driver: "%database_driver%"
host: "%database_host%"
port: "%database_port%"
dbname: "%database_name%"
user: "%database_user%"
password: "%database_password%"
charset: UTF8
# if using pdo_sqlite as your database driver:
# 1. add the path in parameters.yml
# e.g. database_path: "%kernel.root_dir%/data/data.db3"
# 2. Uncomment database_path in parameters.yml.dist
# 3. Uncomment next line:
path: "%database_path%"
orm:

View file

@ -1,6 +1,10 @@
# This file is a "template" of what your parameters.yml file should look like
parameters:
database_driver: pdo_sqlite
database_port: ~
database_name: symfony
database_user: root
database_password: ~
database_path: "%kernel.root_dir%/../data/db/poche.sqlite"
mailer_transport: smtp