24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-05-31 21:07:55 +02:00

Add contributed modules code path on start

This commit is contained in:
Christophe Romain 2015-03-13 12:20:25 +01:00
parent 588f98fc3a
commit 5b9635cc07

View File

@ -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 ->