Skip to content
Permalink
Browse files

Update dotenv to version 2.4.0

I faced some issues with dotenv 1.x and I'm currenlty running this.
Not tested, maybe some of core contributors could test this.
  • Loading branch information...
Tuomas-Matti Soikkeli
Tuomas-Matti Soikkeli committed Apr 23, 2018
1 parent 6eff352 commit f28fd089197c7e09ce44a78e74c1cf59d05385e8
Showing with 7 additions and 7 deletions.
  1. +1 −1 composer.json
  2. +4 −4 composer.lock
  3. +2 −2 htdocs/wp-config.php
@@ -54,7 +54,7 @@
"johnpbloch/wordpress-core": "^4.7",
"composer/installers": "v1.0.12",
"koodimonni/composer-dropin-installer": ">=0.2.4",
"vlucas/phpdotenv": "1.0.9",
"vlucas/phpdotenv": "v2.4.0",

"koodimonni-language/fi": "*",
"koodimonni-language/sv_SE": "*",

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -19,8 +19,8 @@
* .env file is also heavily used in development
*/
if (file_exists($root_dir . '/.env')) {
Dotenv::makeMutable();
Dotenv::load($root_dir);
$dotenv = new Dotenv\Dotenv($root_dir);
$dotenv->overload();
}

0 comments on commit f28fd08

Please sign in to comment.
You can’t perform that action at this time.