Skip to content

Commit

Permalink
Merge branch 'release/2.6.2' into devmode-vite
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Welch committed Apr 15, 2022
2 parents be13eed + 08426cd commit 0fd2871
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# nystudio107/devmode Change Log

## 2.6.2 - 2022.04.15
### Changed
* Remove `enableLogging` and `enableProfiling` from `config/db.php` as they've now gone away
* Changed `bootstrap.php` to allow `.env`-set environment variables override existing injected environment variables ([#82](https://github.com/craftcms/craft/issues/82))

## 2.6.1 - 2022.04.13
### Added
* Added Craft CMS 4 db dump
Expand Down
2 changes: 1 addition & 1 deletion cms/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

// Load dotenv?
if (class_exists('Dotenv\Dotenv')) {
Dotenv\Dotenv::createUnsafeImmutable(CRAFT_BASE_PATH)->safeLoad();
Dotenv\Dotenv::createUnsafeMutable(CRAFT_BASE_PATH)->safeLoad();
}

// Define additional PHP constants
Expand Down
2 changes: 0 additions & 2 deletions cms/config/db.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,4 @@
'password' => App::env('DB_PASSWORD'),
'schema' => App::env('DB_SCHEMA'),
'tablePrefix' => App::env('DB_TABLE_PREFIX'),
'enableLogging' => false,
'enableProfiling' => (bool)App::env('DEV_MODE'),
];

0 comments on commit 0fd2871

Please sign in to comment.