Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbeb3665

Browse files
committed
Merge branch '2.0' into 2.1
Conflicts:reference/configuration/framework.rst
2 parents0d0434b +d75d7f4 commitbeb3665

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

‎components/http_foundation/trusting_proxies.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ your proxy::
1818

1919
$request = Request::createFromGlobals();
2020
// only trust proxy headers coming from this IP address
21-
$request->setTrustedProxies(array(192.0.0.1));
21+
$request->setTrustedProxies(array('192.0.0.1'));
2222

2323
Configuring Header Names
2424
------------------------

‎reference/configuration/framework.rst‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Configuration
2626
* enabled
2727
* field_name
2828
* `session`_
29+
* `name`_
2930
* `cookie_lifetime`_
3031
* `cookie_path`_
3132
* `cookie_domain`_
@@ -146,6 +147,14 @@ csrf_protection
146147
session
147148
~~~~~~~
148149

150+
name
151+
....
152+
153+
**type**: ``string`` **default**: ``null``
154+
155+
This specifies the name of the session cookie. By default it will use the cookie
156+
name which is defined in the ``php.ini`` with the ``session.name`` directive.
157+
149158
cookie_lifetime
150159
...............
151160

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp