Skip to content

Commit eba83d9

Browse files
committed
More changes
1 parent 4a4d9e3 commit eba83d9

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

app/config/config.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ framework:
4444
trusted_hosts: ~
4545
trusted_proxies: ~
4646
session:
47-
# handler_id set to null will use default session handler from php.ini
48-
handler_id: ~
47+
handler_id: session.handler.native_file
48+
save_path: "%kernel.root_dir%/../var/sessions/%kernel.environment%"
4949
fragments: ~
5050
http_method_override: true
5151
assets: ~
@@ -77,7 +77,9 @@ doctrine:
7777
# them from the app/config/parameters.yml file. The reason is that config.yml
7878
# stores options that change the application behavior and parameters.yml
7979
# stores options that change from one server to another
80-
url: "%database_url%"
80+
driver: "pdo_sqlite"
81+
# temp workaround for https://github.com/doctrine/dbal/issues/1106: define DB path here
82+
path: "%kernel.root_dir%/../var/data/blog.sqlite"
8183

8284
orm:
8385
auto_generate_proxy_classes: "%kernel.debug%"

app/config/config_prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ monolog:
2121
handler: nested
2222
nested:
2323
type: stream
24-
path: "php://stderr"
24+
path: "%kernel.logs_dir%/%kernel.environment%.log"
2525
level: debug
2626
console:
2727
type: console

0 commit comments

Comments
 (0)