Updated symfony recipes (part 2).

This commit is contained in:
Jan Böhmer 2021-10-02 21:15:46 +02:00
parent 0db5aebb66
commit 9ae8e55b9e
5 changed files with 29 additions and 17 deletions

View file

@ -5,3 +5,8 @@ framework:
# Configure how to generate URLs in non-HTTP contexts, such as CLI commands.
# See https://symfony.com/doc/current/routing.html#generating-urls-in-commands
#default_uri: http://localhost
when@prod:
framework:
router:
strict_requirements: null

View file

@ -1,2 +0,0 @@
twig:
strict_variables: true

View file

@ -5,3 +5,10 @@ framework:
fallbacks:
- '%partdb.locale%'
- 'en'
providers:
# crowdin:
# dsn: '%env(CROWDIN_DSN)%'
# loco:
# dsn: '%env(LOCO_DSN)%'
# lokalise:
# dsn: '%env(LOKALISE_DSN)%'

View file

@ -15,3 +15,7 @@ twig:
label_profile_dropdown_helper: '@App\Services\LabelSystem\LabelProfileDropdownHelper'
error_page_admin_email: '%partdb.error_pages.admin_email%'
error_page_show_help: '%partdb.error_pages.show_help%'
when@test:
twig:
strict_variables: true