mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-08 21:43:07 +02:00
Allow contribution to include .yml or .yaml config file
This commit is contained in:
parent
8fedc945bf
commit
32fc586c08
|
@ -206,7 +206,7 @@ get_plain_terms_file(File1, Opts) ->
|
||||||
BinTerms1 = strings_to_binary(Terms),
|
BinTerms1 = strings_to_binary(Terms),
|
||||||
ModInc = case proplists:get_bool(include_modules_configs, Opts) of
|
ModInc = case proplists:get_bool(include_modules_configs, Opts) of
|
||||||
true ->
|
true ->
|
||||||
filelib:wildcard(ext_mod:modules_dir() ++ "/*/conf/*.yaml");
|
filelib:wildcard(ext_mod:modules_dir() ++ "/*/conf/*.{yml,yaml}");
|
||||||
_ ->
|
_ ->
|
||||||
[]
|
[]
|
||||||
end,
|
end,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user