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

Appearance settings

Commit c34603e

Browse filesBrowse files
committed
minor #7958 Reworded the explanation about the --router option (javiereguiluz)
This PR was merged into the 2.7 branch. Discussion ---------- Reworded the explanation about the --router option This fixes #7919. In addition to fixing the reported issue, I propose to reword this phrase because it's a bit difficult to understand: `Use the --router option in any other environment or to use another router script:` Commits ------- 079e0e9 Reworded the explanation about the --router option
2 parents ac73154 + 079e0e9 commit c34603e
Copy full SHA for c34603e

File tree

Expand file treeCollapse file tree

1 file changed

+3
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-4
lines changed

‎setup/built_in_web_server.rst

Copy file name to clipboardExpand all lines: setup/built_in_web_server.rst
+3-4Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,12 @@ Command Options
8383

8484
The built-in web server expects a "router" script (read about the "router"
8585
script on `php.net`_) as an argument. Symfony already passes such a router
86-
script when the command is executed in the ``prod`` or in the ``dev`` environment.
87-
Use the ``--router`` option in any other environment or to use another router
88-
script:
86+
script when the command is executed in the ``prod`` or ``dev`` environments.
87+
Use the ``--router`` option to use your own router script:
8988

9089
.. code-block:: terminal
9190
92-
$ php app/console server:start --env=test --router=app/config/router_test.php
91+
$ php app/console server:start --router=app/config/my_router.php
9392
9493
If your application's document root differs from the standard directory layout,
9594
you have to pass the correct location using the ``--docroot`` option:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.