mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-25 17:26:43 +00:00
Update Installer.php
This commit is contained in:
parent
a5117fcfa3
commit
2a82788ab0
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue