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:
parent
55ea097bce
commit
19614678e9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user