ejabberd: Do not change the instance variables in config template
This commit is contained in:
parent
6ddcf27601
commit
2e28f7dfbd
1 changed files with 4 additions and 4 deletions
|
@ -89,8 +89,8 @@ override_acls.
|
|||
%% You can define one or several, for example:
|
||||
%% {hosts, ["example.net", "example.com", "example.org"]}.
|
||||
%%
|
||||
<% @hosts.map! { |host| '"%s"' % host } -%>
|
||||
{hosts, [<%= @hosts.join(", ") %>]}.
|
||||
<% hosts = @hosts.map { |host| '"%s"' % host } -%>
|
||||
{hosts, [<%= hosts.join(", ") %>]}.
|
||||
|
||||
%%
|
||||
%% route_subdomains: Delegate subdomains to other XMPP servers.
|
||||
|
@ -222,8 +222,8 @@ override_acls.
|
|||
{extauth_program, "<%= @extauth %>"}.
|
||||
<% end -%>
|
||||
<% if @ldap_server -%>
|
||||
<% @ldap_server.map! { |server| '"%s"' % server } -%>
|
||||
{ldap_servers, [<%= @ldap_server.join(", ") %>]}.
|
||||
<% ldap_server = @ldap_server.map { |server| '"%s"' % server } -%>
|
||||
{ldap_servers, [<%= ldap_server.join(", ") %>]}.
|
||||
{ldap_base, "<%= @ldap_basedn %>"}.
|
||||
{ldap_encrypt, <%= @ldap_encrypt %>}.
|
||||
{ldap_port, <%= @ldap_port %>}.
|
||||
|
|
Loading…
Add table
Reference in a new issue