BookStackApp / system-cli

MIGRATED TO CODEBERG -- A simple CLI to manage BookStack instances
https://codeberg.org/bookstack/system-cli
MIT License
5 stars 0 forks source link

Restore: Wrong env default contents can be used #8

Closed ssddanbrown closed 1 year ago

ssddanbrown commented 1 year ago

When restoring, if the DB details of the new environment are used, the resulting env will be based on the new env instead of using the old env.

Due to wrong variable used in this line: https://github.com/BookStackApp/system-cli/blob/16b09eacff9ed09da767e896de4722ff2cae75c4/src/Commands/RestoreCommand.php#L149