aboutsummaryrefslogtreecommitdiff
path: root/src/Dotenv.php
diff options
context:
space:
mode:
authorАлександр Кирюхин <alexander@kiryukhin.su>2018-01-19 03:41:53 +0300
committerАлександр Кирюхин <alexander@kiryukhin.su>2018-01-19 03:41:53 +0300
commit25fc8dbc337356ca1d726cebc3d0b081e02499f6 (patch)
treeb96ec5bc78e33edee20c0ea166677b99fa7be840 /src/Dotenv.php
parent8de9eaf5d8e238df0421ec3df9e7248c9198f630 (diff)
Readme and license0.0.1
Diffstat (limited to 'src/Dotenv.php')
-rw-r--r--src/Dotenv.php1
1 files changed, 1 insertions, 0 deletions
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);
}