Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Commit f1aa7f8

Browse files
aivusfabpot
authored andcommitted
Improve pdo_sqlite using info
1 parent fd35c24 commit f1aa7f8

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

app/config/config.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,12 @@ doctrine:
4949
user: "%database_user%"
5050
password: "%database_password%"
5151
charset: UTF8
52-
# if using pdo_sqlite as your database driver, add the path in parameters.yml
53-
# e.g. database_path: "%kernel.root_dir%/data/data.db3"
54-
# path: "%database_path%"
52+
# if using pdo_sqlite as your database driver:
53+
# 1. add the path in parameters.yml
54+
# e.g. database_path: "%kernel.root_dir%/data/data.db3"
55+
# 2. Uncomment database_path in parameters.yml.dist
56+
# 3. Uncomment next line:
57+
# path: "%database_path%"
5558

5659
orm:
5760
auto_generate_proxy_classes: "%kernel.debug%"

app/config/parameters.yml.dist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ parameters:
55
database_name: symfony
66
database_user: root
77
database_password: ~
8+
# You should uncomment this if you want use pdo_sqlite
9+
# database_path: "%kernel.root_dir%/data.db3"
810

911
mailer_transport: smtp
1012
mailer_host: 127.0.0.1

0 commit comments

Comments
 (0)