8000 Update built_in.rst by programaths · Pull Request #4194 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Update built_in.rst #4194

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 5 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loa 8000 ding
Diff view
Diff view
Prev Previous commit
Next Next commit
Update built_in.rst
Attempted to clarify
  • Loading branch information
programaths committed Sep 2, 2014
commit 8e39d24ae5f57369f34517508986c1322d6058b6
14 changes: 13 additions & 1 deletion cookbook/web_server/built_in.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,19 @@ script:

.. code-block:: bash

$ php app/console server:run --env=test --router=../app/config/router_test.php
$ php app/console server:run --env=test --router=router_test.php

.. warning

the router path is relative to the application's document root
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

upper case i believe?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add a . at the end i believe too


.. note

Under most Linux distributions, you can prepend `$(pwd)` to your router path to make it relative to your current working directory

.. note

Under Windows, you can prepend with the `%CD%` special environment variable
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍


If your application's document root differs from the standard directory layout,
you have to pass the correct location using the ``--docroot`` option:
Expand Down
0