Let admin choose default boot proto. Respect both CIVICRM_BOOT and CIVCRM_SETTINGS. #152
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
(Extracted from #145.)
This is preparation for
v0.4.x
. The ultimate aim is to flip the default boot behavior (full/Bootstrap.php
<=>cms-full/CmsBootstrap.php
); but that is a big change. This patch allows admins fine-tune the transitional period.full
/Bootstrap.php
.cms-full
/CmsBootstrap.php
.CmsBootstrap.php
by default; now), then you can explicitly setCIVICRM_BOOT=Auto://
. This setting will be respected on either version.Bootstrap.php
by default), then you can explicitly setCIVICRM_SETTING=Auto
. This setting will be respected on either version.These env-vars already exist, but they're not consistently respected. You sometimes need to manually set
--level=full
or--level=cms-full
. This patch makes it easier to switch -- you can express a preference for either style, and you don't need to manually pass--level=X
with each call.This PR also updates the README to describe the options.