Software /
code /
prosody-modules
Changeset
5660:8a607be2cdcc
mod_invites_register_web: change config option from `invites_html_template` to `invites_template_html`.
author | Trần H. Trung <xmpp:trần.h.trung@trung.fun> |
---|---|
date | Tue, 29 Aug 2023 22:05:46 +0700 |
parents | 5640:5e7e609fae0c |
children | 5661:e76ec7ad941e |
files | mod_invites_register_web/mod_invites_register_web.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_invites_register_web/mod_invites_register_web.lua Tue Aug 01 01:27:45 2023 +0700 +++ b/mod_invites_register_web/mod_invites_register_web.lua Tue Aug 29 22:05:46 2023 +0700 @@ -34,7 +34,7 @@ local invites = module:depends("invites"); local invites_page = module:depends("invites_page"); -local templatePath = module:get_option_string("invites_html_template", "html"); +local templatePath = module:get_option_string("invites_template_html", "html"); function template_get(sTemplate, sLang) local template = sLang and templatePath.."/"..sTemplate.."."..sLang..".html" or templatePath.."/"..sTemplate..".html";