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

Commit 1c135cf

Browse files
committed
Merge branch '2.3' into 2.4
* 2.3: Improve pdo_sqlite using info
2 parents 7373d57 + 91be4f8 commit 1c135cf

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
@@ -52,9 +52,12 @@ doctrine:
5252
user: "%database_user%"
5353
password: "%database_password%"
5454
charset: UTF8
55-
# if using pdo_sqlite as your database driver, add the path in parameters.yml
56-
# e.g. database_path: "%kernel.root_dir%/data/data.db3"
57-
# path: "%database_path%"
55+
# if using pdo_sqlite as your database driver:
56+
# 1. add the path in parameters.yml
57+
# e.g. database_path: "%kernel.root_dir%/data/data.db3"
58+
# 2. Uncomment database_path in parameters.yml.dist
59+
# 3. Uncomment next line:
60+
# path: "%database_path%"
5861

5962
orm:
6063
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)