From e9b10802d1c213a848d33cb9f0a77cb86511e67a Mon Sep 17 00:00:00 2001 From: andibraeu Date: Tue, 29 Jul 2014 22:47:20 +0200 Subject: [PATCH] support sqlite database path in config --- app/config/config.yml | 2 +- app/config/parameters.yml.dist | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/config/config.yml b/app/config/config.yml index ad67c1d..a9fdf65 100755 --- a/app/config/config.yml +++ b/app/config/config.yml @@ -60,7 +60,7 @@ doctrine: charset: UTF8 # if using pdo_sqlite as your database driver, add the path in parameters.yml # e.g. database_path: "%kernel.root_dir%/data/data.db3" - # path: "%database_path%" + path: "%database_path%" orm: auto_generate_proxy_classes: "%kernel.debug%" diff --git a/app/config/parameters.yml.dist b/app/config/parameters.yml.dist index ebdabb5..8b735b7 100644 --- a/app/config/parameters.yml.dist +++ b/app/config/parameters.yml.dist @@ -5,6 +5,7 @@ parameters: database_name: symfony database_user: root database_password: ~ + database_path: "%kernel.root_dir%/ffcal.sqlite3" mailer_transport: smtp mailer_host: 127.0.0.1