Bug 18674: Allow TZ SetEnv for plack

It should also be noted that
    /etc/apache2/sites-enabled/{configuration file}
should also contain:
    RequestHeader add X-Koha-SetEnv "TZ {timezone}"
Where {timezone} is the desired instance timezone.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Mark Tompsett 2018-04-02 15:24:25 -04:00 committed by Jonathan Druart
parent e8ac2d3833
commit 9b1a5cd640
1 changed files with 2 additions and 1 deletions

View File

@ -68,7 +68,8 @@ my $allowed_setenvs = qr/^(
OVERRIDE_SYSPREF_NAMES |
OPAC_CSS_OVERRIDE |
OPAC_SEARCH_LIMIT |
OPAC_LIMIT_OVERRIDE
OPAC_LIMIT_OVERRIDE |
TZ
)\ /x;
sub call {