24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-18 22:15:20 +02:00

Enforce pathtype use with config path (#1264)

This commit is contained in:
Christophe Romain 2016-09-07 17:38:04 +02:00
parent af0a493c66
commit 7a538bb88b

View File

@ -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.