Skip to content

Commit c972162

Browse files
committed
Merge branch '2.0' into 2.1
2 parents 8ff4543 + 6b7462e commit c972162

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

components/http_foundation/introduction.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The HttpFoundation Component
1010
specification.
1111

1212
In PHP, the request is represented by some global variables (``$_GET``,
13-
``$_POST``, ``$_FILE``, ``$_COOKIE``, ``$_SESSION``, ...) and the response is
13+
``$_POST``, ``$_FILES``, ``$_COOKIE``, ``$_SESSION``, ...) and the response is
1414
generated by some functions (``echo``, ``header``, ``setcookie``, ...).
1515

1616
The Symfony2 HttpFoundation component replaces these default PHP global
@@ -61,7 +61,7 @@ can be accessed via several public properties:
6161

6262
* ``attributes``: no equivalent - used by your app to store other data (see :ref:`below<component-foundation-attributes>`)
6363

64-
* ``files``: equivalent of ``$_FILE``;
64+
* ``files``: equivalent of ``$_FILES``;
6565

6666
* ``server``: equivalent of ``$_SERVER``;
6767

cookbook/controller/error_pages.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ control you need:
1616

1717
1. Customize the error templates of the different error pages (explained below);
1818

19-
2. Replace the default exception controller ``TwigBundle::Exception:show``
19+
2. Replace the default exception controller ``TwigBundle:Exception:show``
2020
with your own controller and handle it however you want (see
2121
:ref:`exception_controller in the Twig reference<config-twig-exception-controller>`);
2222

0 commit comments

Comments
 (0)