mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-12 17:44:31 +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();
|
$envPath = app()->environmentFilePath();
|
||||||
$payload = file_get_contents($envPath);
|
$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);
|
$payload = str_replace("{$key}={$existing}", "{$key}=\"{$value}\"", $payload);
|
||||||
$this->storeEnv($payload);
|
$this->storeEnv($payload);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue