|
|
@ -35,6 +35,10 @@ defmodule Pleroma.Application do
|
|
|
|
# See http://elixir-lang.org/docs/stable/elixir/Application.html
|
|
|
|
# See http://elixir-lang.org/docs/stable/elixir/Application.html
|
|
|
|
# for more information on OTP Applications
|
|
|
|
# for more information on OTP Applications
|
|
|
|
def start(_type, _args) do
|
|
|
|
def start(_type, _args) do
|
|
|
|
|
|
|
|
# Scrubbers are compiled at runtime and therefore will cause a conflict
|
|
|
|
|
|
|
|
# every time the application is restarted, so we disable module
|
|
|
|
|
|
|
|
# conflicts at runtime
|
|
|
|
|
|
|
|
Code.compiler_options(ignore_module_conflict: true)
|
|
|
|
Config.Holder.save_default()
|
|
|
|
Config.Holder.save_default()
|
|
|
|
Pleroma.HTML.compile_scrubbers()
|
|
|
|
Pleroma.HTML.compile_scrubbers()
|
|
|
|
Config.DeprecationWarnings.warn()
|
|
|
|
Config.DeprecationWarnings.warn()
|
|
|
|