mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 22:33:55 -07:00
Update install.php
This commit is contained in:
parent
b175dd2f58
commit
5a42ee34c1
1 changed files with 2 additions and 2 deletions
|
@ -218,10 +218,10 @@ if (is_file(ROOT . '.env')) {
|
||||||
$$key = $newValue;
|
$$key = $newValue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$editedLines[] = $line;
|
$editedLines[] = $line;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
$newEnvContent = implode("\n", $editedLines);
|
$newEnvContent = implode("\n", $editedLines);
|
||||||
if (file_put_contents(ROOT . '.env', $newEnvContent)) {
|
if (file_put_contents(ROOT . '.env', $newEnvContent)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue