Skip to content

Commit ea612d5

Browse files
committed
Merge branch '5.2' into 5.x
* 5.2: Remove extra slash in template path Fix yaml syntax
2 parents b4c7361 + f687353 commit ea612d5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

configuration/override_dir_structure.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ for multiple directories):
117117
# config/packages/twig.yaml
118118
twig:
119119
# ...
120-
default_path: "%kernel.project_dir%//resources/views"
120+
default_path: "%kernel.project_dir%/resources/views"
121121
122122
.. code-block:: xml
123123

deployment/proxies.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ In this case, you'll need to - *very carefully* - trust *all* proxies.
125125
# config/packages/framework.yaml
126126
framework:
127127
# ...
128-
// trust *all* requests (the 'REMOTE_ADDR' string is replaced at
129-
// run time by $_SERVER['REMOTE_ADDR'])
128+
# trust *all* requests (the 'REMOTE_ADDR' string is replaced at
129+
# run time by $_SERVER['REMOTE_ADDR'])
130130
trusted_proxies: '127.0.0.1,REMOTE_ADDR'
131131
132132
That's it! It's critical that you prevent traffic from all non-trusted sources.

0 commit comments

Comments
 (0)