aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2015-07-24 14:30:31 +0200
committerChristophe Romain <christophe.romain@process-one.net>2015-07-24 14:30:31 +0200
commit32fc586c08dc4d80cfb7dda33ae5e6a370cc6f9f (patch)
treeb8a998457975febd31359f143b6bbc97095ec894
parentAllow migration of old pubsub items with xmlelement in body (#479) (diff)
Allow contribution to include .yml or .yaml config file
-rw-r--r--src/ejabberd_config.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ejabberd_config.erl b/src/ejabberd_config.erl
index 81a87a648..18abf40ce 100644
--- a/src/ejabberd_config.erl
+++ b/src/ejabberd_config.erl
@@ -206,7 +206,7 @@ get_plain_terms_file(File1, Opts) ->
BinTerms1 = strings_to_binary(Terms),
ModInc = case proplists:get_bool(include_modules_configs, Opts) of
true ->
- filelib:wildcard(ext_mod:modules_dir() ++ "/*/conf/*.yaml");
+ filelib:wildcard(ext_mod:modules_dir() ++ "/*/conf/*.{yml,yaml}");
_ ->
[]
end,