From: Christophe Romain Date: Fri, 13 Mar 2015 11:20:25 +0000 (+0100) Subject: Add contributed modules code path on start X-Git-Tag: 15.03~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5b9635cc07e8b8af69c81fa6114710a2e4b32d57;p=ejabberd Add contributed modules code path on start --- diff --git a/src/ext_mod.erl b/src/ext_mod.erl index 11597ef24..99f5026d3 100644 --- a/src/ext_mod.erl +++ b/src/ext_mod.erl @@ -43,6 +43,8 @@ start() -> case is_contrib_allowed() of true -> + [code:add_patha(module_ebin_dir(Module)) + || {Module, _} <- installed()], application:start(inets), ejabberd_commands:register_commands(commands()); false ->