mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 09:49:18 +02:00
Allow contribution to include .yml or .yaml config file
This commit is contained in:
parent
8fedc945bf
commit
32fc586c08
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue