Skip to content

Commit e9b50e4

Browse files
committed
Merge branch '2.3' into 2.7
2 parents 692659e + b8e3310 commit e9b50e4

File tree

4 files changed

+16
-9
lines changed

4 files changed

+16
-9
lines changed

_theme/_templates/layout.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
<div id="demo-warning">
4747
<h4>Pull request build</h4>
4848
<p>Each pull request of the Symfony Documentation is automatically deployed and hosted on <a href="https://platform.sh">Platform.sh</a>.<br>
49-
Visit the page on <a href="https://symfony.com/doc/current/{{ pagename }}">symfony.com</a>.</p>
49+
View this page on <a href="https://symfony.com/doc/current/{{ pagename }}">symfony.com</a>.</p>
5050
</div>
5151

5252
{%- include "globaltoc.html" %}

book/installation.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ If there are any issues, correct them now before moving on.
239239
$ rm -rf app/cache/*
240240
$ rm -rf app/logs/*
241241
242-
$ HTTPDUSER=`ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\ -f1`
242+
$ HTTPDUSER=`ps axo user,comm | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\ -f1`
243243
$ sudo chmod +a "$HTTPDUSER allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs
244244
$ sudo chmod +a "`whoami` allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs
245245
@@ -254,7 +254,7 @@ If there are any issues, correct them now before moving on.
254254

255255
.. code-block:: bash
256256
257-
$ HTTPDUSER=`ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\ -f1`
257+
$ HTTPDUSER=`ps axo user,comm | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\ -f1`
258258
$ sudo setfacl -R -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX app/cache app/logs
259259
$ sudo setfacl -dR -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX app/cache app/logs
260260

cookbook/email/dev_environment.rst

+6-6
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,11 @@ by adding the ``delivery_whitelist`` option:
140140
delivery_whitelist:
141141
# all email addresses matching this regex will *not* be
142142
# redirected to dev@example.com
143-
- "/@specialdomain.com$/"
143+
- "/@specialdomain\.com$/"
144144
145145
# all emails sent to admin@mydomain.com won't
146146
# be redirected to dev@example.com too
147-
- "/^admin@mydomain.com$/"
147+
- "/^admin@mydomain\.com$/"
148148
149149
.. code-block:: xml
150150
@@ -156,10 +156,10 @@ by adding the ``delivery_whitelist`` option:
156156
157157
<swiftmailer:config delivery-address="dev@example.com">
158158
<!-- all email addresses matching this regex will *not* be redirected to dev@example.com -->
159-
<swiftmailer:delivery-whitelist-pattern>/@specialdomain.com$/</swiftmailer:delivery-whitelist-pattern>
159+
<swiftmailer:delivery-whitelist-pattern>/@specialdomain\.com$/</swiftmailer:delivery-whitelist-pattern>
160160
161161
<!-- all emails sent to admin@mydomain.com won't be redirected to dev@example.com too -->
162-
<swiftmailer:delivery-whitelist-pattern>/^admin@mydomain.com$/</swiftmailer:delivery-whitelist-pattern>
162+
<swiftmailer:delivery-whitelist-pattern>/^admin@mydomain\.com$/</swiftmailer:delivery-whitelist-pattern>
163163
</swiftmailer:config>
164164
165165
.. code-block:: php
@@ -170,11 +170,11 @@ by adding the ``delivery_whitelist`` option:
170170
'delivery_whitelist' => array(
171171
// all email addresses matching this regex will *not* be
172172
// redirected to dev@example.com
173-
'/@specialdomain.com$/',
173+
'/@specialdomain\.com$/',
174174
175175
// all emails sent to admin@mydomain.com won't be
176176
// redirected to dev@example.com too
177-
'/^admin@mydomain.com$/',
177+
'/^admin@mydomain\.com$/',
178178
),
179179
));
180180

cookbook/templating/namespaced_paths.rst

+7
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,13 @@ directory:
7171
);
7272
));
7373
74+
.. caution::
75+
76+
Prior to 2.8, templates in custom namespaces are not pre-compiled by
77+
Symfony's cache warmup process. They are compiled on demand. This may
78+
cause problems if two simultaneous requests are trying to use the
79+
template for the first time.
80+
7481
The registered namespace is called ``foo_bar``, which refers to the
7582
``vendor/acme/foo-bar/templates`` directory. Assuming there's a file
7683
called ``sidebar.twig`` in that directory, you can use it easily:

0 commit comments

Comments
 (0)