Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 16a0982

Browse filesBrowse files
committed
minor #12870 add url to bootstrap.php for older versions (Wojciechem)
This PR was merged into the 4.3 branch. Discussion ---------- 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 - solution found in #12399 (comment) While I understand it's not encouraged to use unsupported versions, I think this information can be useful for projects that "can't" be upgraded yet. Commits ------- 8c68270 add url to bootstrap.php for older versions
2 parents 23ddd7d + 8c68270 commit 16a0982
Copy full SHA for 16a0982

File tree

Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed
Open diff view settings
Collapse file

‎configuration/dot-env-changes.rst‎

Copy file name to clipboardExpand all lines: configuration/dot-env-changes.rst
+3-1Lines changed: 3 additions & 1 deletion
  • Display the source diff
  • Display the rich diff
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.