Skip to content

Commit 0fd2871

Browse files
author
Andrew Welch
committed
Merge branch 'release/2.6.2' into devmode-vite
2 parents be13eed + 08426cd commit 0fd2871

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# nystudio107/devmode Change Log
22

3+
## 2.6.2 - 2022.04.15
4+
### Changed
5+
* Remove `enableLogging` and `enableProfiling` from `config/db.php` as they've now gone away
6+
* Changed `bootstrap.php` to allow `.env`-set environment variables override existing injected environment variables ([#82](https://github.com/craftcms/craft/issues/82))
7+
38
## 2.6.1 - 2022.04.13
49
### Added
510
* Added Craft CMS 4 db dump

cms/bootstrap.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
// Load dotenv?
1414
if (class_exists('Dotenv\Dotenv')) {
15-
Dotenv\Dotenv::createUnsafeImmutable(CRAFT_BASE_PATH)->safeLoad();
15+
Dotenv\Dotenv::createUnsafeMutable(CRAFT_BASE_PATH)->safeLoad();
1616
}
1717

1818
// Define additional PHP constants

cms/config/db.php

-2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,4 @@
2020
'password' => App::env('DB_PASSWORD'),
2121
'schema' => App::env('DB_SCHEMA'),
2222
'tablePrefix' => App::env('DB_TABLE_PREFIX'),
23-
'enableLogging' => false,
24-
'enableProfiling' => (bool)App::env('DEV_MODE'),
2523
];

0 commit comments

Comments
 (0)