aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);
}