squid: error_directory /usr/local/etc/squid/errors/{{lang}}; closes #2304

This commit is contained in:
Alexander Shursha 2017-12-27 10:24:17 +03:00 committed by Franco Fichtner
parent 99c9c7006a
commit 4e8e256333

View File

@ -445,3 +445,6 @@ visible_hostname {{OPNsense.proxy.general.VisibleHostname}}
# Define visible email
cache_mgr {{OPNsense.proxy.general.VisibleEmail}}
{% endif %}
{% if helpers.exists('system.language') and system.language != "" %}
error_directory /usr/local/etc/squid/errors/{{ system.language|lower|replace("_","-")}}
{% endif %}