Skip to content
Snippets Groups Projects
Commit 8a9d7acd authored by jurgenhaas's avatar jurgenhaas
Browse files

Overwrite existing value in .env when user entered a new value at the prompt

parent c0ab099a
No related branches found
No related tags found
No related merge requests found
......@@ -94,8 +94,12 @@ final class Dotenv {
if (empty($value)) {
$value = $default;
}
$this->put($key, $value, TRUE);
}
$this->put($key, $value);
else {
$this->put($key, $value);
}
return $value;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment