File tree Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,12 @@ Updates should follow the [Keep a CHANGELOG](https://keepachangelog.com/) princi
44
55## [ Unreleased] [ unreleased ]
66
7+ ## [ 0.1.2] - 2021-11-29
8+
9+ ### Fixed
10+
11+ - Updating Dotenv::getSettings to define generic settings based on default.settings.php.
12+
713## [ 0.1.1] - 2021-11-29
814
915### Fixed
@@ -14,6 +20,7 @@ Updates should follow the [Keep a CHANGELOG](https://keepachangelog.com/) princi
1420
1521** Initial release!**
1622
17- [ unreleased ] : https://github.com/unleashedtech/dotenv-drupal/compare/0.1.1...main
23+ [ unreleased ] : https://github.com/unleashedtech/dotenv-drupal/compare/0.1.2...main
24+ [ 0.1.2 ] : https://github.com/unleashedtech/dotenv-drupal/releases/tag/v0.1.2
1825[ 0.1.1 ] : https://github.com/unleashedtech/dotenv-drupal/releases/tag/v0.1.1
1926[ 0.1.0 ] : https://github.com/unleashedtech/dotenv-drupal/releases/tag/v0.1.0
Original file line number Diff line number Diff line change @@ -177,10 +177,14 @@ function setDatabaseName(string $database)
177177 public function getSettings (): array
178178 {
179179 $ envName = $ this ->getEnvironmentName ();
180- $ defaultSettingsFile = $ this ->getAppPath () . '/sites/default/default.settings.php ' ;
181- if (file_exists ($ defaultSettingsFile )) {
182- include $ this ->getAppPath () . '/sites/default/default.settings.php ' ;
183- }
180+ $ settings ['update_free_access ' ] = FALSE ;
181+ $ settings ['file_scan_ignore_directories ' ] = [
182+ 'node_modules ' ,
183+ 'bower_components ' ,
184+ ];
185+ $ settings ['entity_update_batch_size ' ] = 50 ;
186+ $ settings ['entity_update_backup ' ] = TRUE ;
187+ $ settings ['migrate_node_migrate_type_classic ' ] = FALSE ;
184188 $ settings ['config_sync_directory ' ] = $ this ->getConfigSyncPath ();
185189 $ settings ['file_public_path ' ] = $ this ->getPublicFilePath ();
186190 $ settings ['file_private_path ' ] = $ this ->getPrivateFilePath ();
You can’t perform that action at this time.
0 commit comments