From 079e0e9a283b7d39cc6bd06b420824d105daf729 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Sun, 28 May 2017 20:17:09 +0200 Subject: [PATCH] Reworded the explanation about the --router option --- setup/built_in_web_server.rst | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/setup/built_in_web_server.rst b/setup/built_in_web_server.rst index 865e211ff83..cd42e56ecd8 100644 --- a/setup/built_in_web_server.rst +++ b/setup/built_in_web_server.rst @@ -83,13 +83,12 @@ Command Options The built-in web server expects a "router" script (read about the "router" script on `php.net`_) as an argument. Symfony already passes such a router -script when the command is executed in the ``prod`` or in the ``dev`` environment. -Use the ``--router`` option in any other environment or to use another router -script: +script when the command is executed in the ``prod`` or ``dev`` environments. +Use the ``--router`` option to use your own router script: .. code-block:: terminal - $ php app/console server:start --env=test --router=app/config/router_test.php + $ php app/console server:start --router=app/config/my_router.php If your application's document root differs from the standard directory layout, you have to pass the correct location using the ``--docroot`` option: