Move runtime configuration from :instance to :modules

This commit is contained in:
Egor Kislitsyn 2019-12-06 15:04:46 +07:00
commit 157bceeda9
4 changed files with 14 additions and 4 deletions

View file

@ -69,7 +69,7 @@ defmodule Pleroma.Application do
end
def load_custom_modules do
dir = Pleroma.Config.get([:instance, :custom_modules_dir])
dir = Pleroma.Config.get([:modules, :runtime_dir])
if dir && File.exists?(dir) do
dir