From: Christophe Romain Date: Wed, 7 Sep 2016 15:38:04 +0000 (+0200) Subject: Enforce pathtype use with config path (#1264) X-Git-Tag: 16.09~21 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7a538bb88b8d07c6014db1f7d18bf54045826802;p=ejabberd Enforce pathtype use with config path (#1264) --- diff --git a/src/ejabberd_config.erl b/src/ejabberd_config.erl index 87a918704..b75883fb2 100644 --- a/src/ejabberd_config.erl +++ b/src/ejabberd_config.erl @@ -318,7 +318,9 @@ get_absolute_path(File) -> File; relative -> {ok, Dir} = file:get_cwd(), - filename:absname_join(Dir, File) + filename:absname_join(Dir, File); + volumerelative -> + filename:absname(File) end.