mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 22:03:49 -07:00
misc(installer): Some minor improvements (#1825)
This commit is contained in:
parent
f3714f02f2
commit
4f896854d3
1 changed files with 1 additions and 1 deletions
|
@ -315,7 +315,7 @@ if (is_file(BB_ROOT . '.env')) {
|
||||||
echo "Enter a new value for $key (or leave empty to not change): ";
|
echo "Enter a new value for $key (or leave empty to not change): ";
|
||||||
$newValue = trim(readline());
|
$newValue = trim(readline());
|
||||||
|
|
||||||
if (!empty($newValue)) {
|
if (!empty($newValue) || $key === 'DB_PASSWORD') {
|
||||||
$line = "$key=$newValue";
|
$line = "$key=$newValue";
|
||||||
$$key = $newValue;
|
$$key = $newValue;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue