Pick up env for both source and OTP installs
This commit is contained in:
parent
46b123cded
commit
e1908a5270
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ defp create(group, settings) do
|
|||
|
||||
defp migrate_from_db(opts) do
|
||||
if Pleroma.Config.get([:configurable_from_database]) do
|
||||
env = opts[:env] || Mix.env()
|
||||
env = opts[:env] || Pleroma.Config.get(:env)
|
||||
|
||||
config_path =
|
||||
if Pleroma.Config.get(:release) do
|
||||
|
|
Loading…
Reference in a new issue