Update Installer.php

pull/2007/head
Shlee 5 years ago committed by GitHub
parent a5117fcfa3
commit 2a82788ab0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -221,7 +221,7 @@ class Installer extends Command
$envPath = app()->environmentFilePath();
$payload = file_get_contents($envPath);
if ($existing == $this->existingEnv($key, $payload)) {
if ($existing = $this->existingEnv($key, $payload)) {
$payload = str_replace("{$key}={$existing}", "{$key}=\"{$value}\"", $payload);
$this->storeEnv($payload);
} else {

Loading…
Cancel
Save