Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 33eaa39

Browse files
committed
configure strict_requirements: null in production
possible since symfony/symfony#5187
1 parent 22771ee commit 33eaa39

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

app/config/config_prod.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
imports:
22
- { resource: config.yml }
33

4+
# In production environment you should know that the parameters for URL generation
5+
# always pass the requirements. Otherwise it would break your link (or even site with
6+
# strict_requirements = true). So we can disable the requirements check completely for
7+
# enhanced performance with strict_requirements = null.
8+
framework:
9+
router:
10+
strict_requirements: null
11+
412
#doctrine:
513
# orm:
614
# metadata_cache_driver: apc

0 commit comments

Comments
 (0)