File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -83,13 +83,12 @@ Command Options
83
83
84
84
The built-in web server expects a "router" script (read about the "router"
85
85
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:
89
88
90
89
.. code-block :: terminal
91
90
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
93
92
94
93
If your application's document root differs from the standard directory layout,
95
94
you have to pass the correct location using the ``--docroot `` option:
You can’t perform that action at this time.
0 commit comments