Skip to content
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

[5.x] Improve sites update script output when custom env() calls are detected #10044

Merged
merged 4 commits into from
May 10, 2024

Conversation

jesseleite
Copy link
Member

@jesseleite jesseleite commented May 10, 2024

If your sites.php config was referencing APP_NAME or APP_URL, we automatically convert these to {{ config:app:name }} and {{ config:app:url }} in our upgrade script 👍

However, if you referenced other custom env vars, it would just resolve / hardcode them. This PR adds some transparency in the messaging after the end of a successful composer install, so that you can handle these yourself...

CleanShot 2024-05-10 at 15 56 32

Closes #10043

@jesseleite jesseleite marked this pull request as ready for review May 10, 2024 20:00
@jasonvarga jasonvarga merged commit 3a6715b into 5.x May 10, 2024
34 checks passed
@jasonvarga jasonvarga deleted the sites-update-script-warn-when-env-vars branch May 10, 2024 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When sites config is migrated, site URLs become hard coded
2 participants