mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 17:59:31 +02:00
New predefined keyword: LOG_PATH
This commit is contained in:
parent
bae345b92b
commit
149b715b4f
1 changed files with 4 additions and 0 deletions
|
@ -504,8 +504,12 @@ get_predefined_keywords(Host) ->
|
|||
[{<<"HOST">>, Host}]
|
||||
end,
|
||||
Home = misc:get_home(),
|
||||
LogDirPath =
|
||||
iolist_to_binary(filename:dirname(
|
||||
ejabberd_logger:get_log_path())),
|
||||
HostList
|
||||
++ [{<<"HOME">>, list_to_binary(Home)},
|
||||
{<<"LOG_PATH">>, LogDirPath},
|
||||
{<<"SEMVER">>, ejabberd_option:version()},
|
||||
{<<"VERSION">>,
|
||||
misc:semver_to_xxyy(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue