update 1.0.8.0
Commits for version update
This commit is contained in:
8
vendor/vlucas/phpdotenv/src/Loader.php
vendored
8
vendor/vlucas/phpdotenv/src/Loader.php
vendored
@@ -341,7 +341,9 @@ class Loader
|
||||
apache_setenv($name, $value);
|
||||
}
|
||||
|
||||
putenv("$name=$value");
|
||||
if (function_exists('putenv')) {
|
||||
putenv("$name=$value");
|
||||
}
|
||||
|
||||
$_ENV[$name] = $value;
|
||||
$_SERVER[$name] = $value;
|
||||
@@ -370,7 +372,9 @@ class Loader
|
||||
return;
|
||||
}
|
||||
|
||||
putenv($name);
|
||||
if (function_exists('putenv')) {
|
||||
putenv($name);
|
||||
}
|
||||
|
||||
unset($_ENV[$name], $_SERVER[$name]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user