From 25fc8dbc337356ca1d726cebc3d0b081e02499f6 Mon Sep 17 00:00:00 2001 From: Александр Кирюхин Date: Fri, 19 Jan 2018 03:41:53 +0300 Subject: Readme and license --- src/Dotenv.php | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Dotenv.php') diff --git a/src/Dotenv.php b/src/Dotenv.php index 3f3b0c6..995efff 100644 --- a/src/Dotenv.php +++ b/src/Dotenv.php @@ -80,6 +80,7 @@ class Dotenv implements \ArrayAccess, \IteratorAggregate ); foreach ($this->loadedValues as $key => $value) { $_ENV[$key] = $value; + $_SERVER[$key] = $value; putenv($key . "=" . $value); } -- cgit v1.2.3