File tree Expand file tree Collapse file tree 5 files changed +3
-2
lines changed Expand file tree Collapse file tree 5 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 5
5
! /var /cache
6
6
/var /cache /*
7
7
! var /cache /.gitkeep
8
+ ! /var /data
8
9
! /var /logs
9
10
/var /logs /*
10
11
! var /logs /.gitkeep
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ web_profiler:
21
21
# In this case we just need to define a different path for the application database.
22
22
doctrine :
23
23
dbal :
24
- path : " %kernel.root_dir%/data/blog_test.sqlite"
24
+ path : " %kernel.root_dir%/../var/ data/blog_test.sqlite"
25
25
26
26
# this configuration simplifies testing URLs protected by the security mechanism
27
27
# See http://symfony.com/doc/current/cookbook/testing/http_authentication.html
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ parameters:
17
17
# this demo application uses an embedded SQLite database to simplify setup.
18
18
# in a real Symfony application you probably will use a MySQL or PostgreSQL database
19
19
# the path must be relative or else it will not work on Windows
20
- env(DATABASE_URL): 'sqlite:///%kernel.root_dir%/data/blog.sqlite'
20
+ env(DATABASE_URL): 'sqlite:///%kernel.root_dir%/../var/ data/blog.sqlite'
21
21
22
22
# Uncomment this line to use a MySQL database instead of SQLite (and remove
23
23
# the "doctrine" section from config_dev.yml regarding SQLite):
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments