Skip to content

Commit bb61d38

Browse files
committed
Restored some changes in some cofig files after the previous merge
1 parent 7d8a3d7 commit bb61d38

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
lines changed

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ APP_SECRET=2ca64f8d83b9e89f5f19d672841d6bb8
2222

2323
###> doctrine/doctrine-bundle ###
2424
# Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
25-
# For an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db"
25+
# For a MySQL database, use: "mysql://db_user:[email protected]:3306/db_name"
2626
# For a PostgreSQL database, use: "postgresql://db_user:[email protected]:5432/db_name?serverVersion=11&charset=utf8"
2727
# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
2828
DATABASE_URL=sqlite:///%kernel.project_dir%/data/database.sqlite

config/packages/framework.yaml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
framework:
2-
#csrf_protection: true
3-
#http_method_override: true
2+
secret: '%env(APP_SECRET)%'
3+
csrf_protection: true
4+
http_method_override: true
5+
trusted_hosts: null
46

57
# Enables session support. Note that the session will ONLY be started if you read or write from it.
68
# Remove or comment this section to explicitly disable session support.
@@ -9,7 +11,17 @@ framework:
911
cookie_secure: auto
1012
cookie_samesite: lax
1113

12-
#esi: true
13-
#fragments: true
14+
# When using the HTTP Cache, ESI allows to render page fragments separately
15+
# and with different cache configurations for each fragment
16+
# https://symfony.com/doc/current/http_cache/esi.html
17+
esi: true
18+
fragments: true
19+
1420
php_errors:
1521
log: true
22+
23+
# The 'ide' option turns all of the file paths in an exception page
24+
# into clickable links that open the given file using your favorite IDE.
25+
# When 'ide' is set to null the file is opened in your web browser.
26+
# See https://symfony.com/doc/current/reference/configuration/framework.html#ide
27+
ide: null

0 commit comments

Comments
 (0)