Add contributed modules code path on start
This commit is contained in:
parent
588f98fc3a
commit
5b9635cc07
|
@ -43,6 +43,8 @@
|
||||||
start() ->
|
start() ->
|
||||||
case is_contrib_allowed() of
|
case is_contrib_allowed() of
|
||||||
true ->
|
true ->
|
||||||
|
[code:add_patha(module_ebin_dir(Module))
|
||||||
|
|| {Module, _} <- installed()],
|
||||||
application:start(inets),
|
application:start(inets),
|
||||||
ejabberd_commands:register_commands(commands());
|
ejabberd_commands:register_commands(commands());
|
||||||
false ->
|
false ->
|
||||||
|
|
Loading…
Reference in New Issue