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

Registrar and .env priority #4659

Merged
merged 1 commit into from
May 9, 2021

Conversation

MGatner
Copy link
Member

@MGatner MGatner commented May 9, 2021

Description
Fixes #3845 so .env files will always have priority over values from a Registrar. This has the added bonus that a Registrar can provide a configuration template for non-existent properties which .env could then fill.

I beefed up the docs on Registrars as well, since IMO implicit Registrars are way more useful and were not even covered correctly.

Checklist:

  • Securely signed commits
  • Component(s) with PHPdocs
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@MGatner MGatner merged commit e235287 into codeigniter4:develop May 9, 2021
@MGatner MGatner deleted the registrar-priority branch May 9, 2021 19:06
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.

Bug: Registrars take priority over .env
2 participants