This PR was merged into the 2.3 branch.
Discussion
----------
[server:run] [#10461] Add docs about custom environment
| Q | A
| ------------- | ---
| Fixed tickets | #10461, https://github.com/symfony/symfony-docs/issues/3688
| License | MIT
It's better to document this specific usecase in the command help.
Commits
-------
6871a61
[#10461] Add docs about custom environment
This commit is contained in:
commit
433a13aef7
@ -66,6 +66,9 @@ If you have custom docroot directory layout, you can specify your own
|
|||||||
router script using <info>--router</info> option:
|
router script using <info>--router</info> option:
|
||||||
|
|
||||||
<info>%command.full_name% --router=app/config/router.php</info>
|
<info>%command.full_name% --router=app/config/router.php</info>
|
||||||
|
|
||||||
|
Specifing a router script is required when the used environment is not "dev" or
|
||||||
|
"prod".
|
||||||
|
|
||||||
See also: http://www.php.net/manual/en/features.commandline.webserver.php
|
See also: http://www.php.net/manual/en/features.commandline.webserver.php
|
||||||
EOF
|
EOF
|
||||||
|
Reference in New Issue
Block a user