Skip to content

Commit

Permalink
Change default boot driver from Bootstrap.php to CmsBootstrap.php
Browse files Browse the repository at this point in the history
  • Loading branch information
totten committed Mar 10, 2023
1 parent 0f2eb4d commit 1c89f69
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ Bootstrap
less representative of a typical HTTP page-view, and it is incompatible with commands like `core:install`. You might use it
for headless testing or as fallback/work-around if any bugs are discovered in the standard protocol.)

> ___NOTE___: In absence of a configuration variable, the __Automatic__ mode will behave like `CIVICRM_SETTINGS="Auto"` (in v0.3.x).
This is tentatively planned to change in v0.4.x, where it will behave like `CIVICRM_BOOT="Auto://."`
> ___NOTE___: In absence of a configuration variable, the __Automatic__ mode specifically behaves like `CIVICRM_BOOT="Auto://."` (in v0.4.x
> and later). This is a change from v0.3.x, where the default behaved like `CIVICRM_SETTINGS="Auto"`.

Build
=====
Expand Down
3 changes: 1 addition & 2 deletions src/Util/BootTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ public function boot(InputInterface $input, OutputInterface $output) {
$input->setOption('level', 'full');
}
else {
$input->setOption('level', 'full');
// TODO (when tests pass, for v0.4): $input->setOption('level', 'cms-full');
$input->setOption('level', 'cms-full');
}
}

Expand Down

0 comments on commit 1c89f69

Please sign in to comment.