Skip to content

Commit 8c68270

Browse files
authored
add url to bootstrap.php for older versions
doc states that "changes can be made to any Symfony 3.4 or higher app", which requires different bootstrap.php
1 parent b715c2b commit 8c68270

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

configuration/dot-env-changes.rst

+3-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ changes can be made to any Symfony 3.4 or higher app:
4747

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

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

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

0 commit comments

Comments
 (0)