Skip to content

add url to bootstrap.php for older versions #12870

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

Merged
merged 1 commit into from
Jan 2, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion configuration/dot-env-changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ changes can be made to any Symfony 3.4 or higher app:

#. Create a new `config/bootstrap.php`_ file in your project. This file loads Composer's
autoloader and loads all the ``.env`` files as needed (note: in an earlier recipe,
this file was called ``src/.bootstrap.php``).
this file was called ``src/.bootstrap.php``).
For Symfony 3.3 - 4.1 please use `3.3/config/bootstrap.php`_

#. Update your `public/index.php`_ (`index.php diff`_) file to load the new ``config/bootstrap.php``
file. If you've customized this file, make sure to keep those changes (but use
Expand Down Expand Up @@ -89,6 +90,7 @@ changes can be made to any Symfony 3.4 or higher app:
file.

.. _`config/bootstrap.php`: https://github.com/symfony/recipes/blob/master/symfony/framework-bundle/4.2/config/bootstrap.php
.. _`3.3/config/bootstrap.php`: https://github.com/symfony/recipes/blob/master/symfony/framework-bundle/3.3/config/bootstrap.php
.. _`public/index.php`: https://github.com/symfony/recipes/blob/master/symfony/framework-bundle/4.2/public/index.php
.. _`index.php diff`: https://github.com/symfony/recipes/compare/8a4e5555e30d5dff64275e2788a901f31a214e79...86e2b6795c455f026e5ab0cba2aff2c7a18511f7#diff-7d73eabd1e5eb7d969ddf9a7ce94f954
.. _`bin/console`: https://github.com/symfony/recipes/blob/master/symfony/console/3.3/bin/console
Expand Down