diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2015-07-24 14:30:31 +0200 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2015-07-24 14:30:31 +0200 |
commit | 32fc586c08dc4d80cfb7dda33ae5e6a370cc6f9f (patch) | |
tree | b8a998457975febd31359f143b6bbc97095ec894 | |
parent | Allow 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.erl | 2 |
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, |