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:
parent
af0a493c66
commit
7a538bb88b
|
@ -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.
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user