25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

Change mnesia dir detection

This commit is contained in:
Alexey Shchepin 2017-04-03 12:57:23 +03:00
parent 55ea097bce
commit 19614678e9

View File

@ -173,7 +173,7 @@ set_settings_from_config() ->
file_queue_init() ->
QueueDir = case ejabberd_config:queue_dir() of
undefined ->
{ok, MnesiaDir} = application:get_env(mnesia, dir),
MnesiaDir = mnesia:system_info(directory),
filename:join(MnesiaDir, "queue");
Path ->
Path