]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1485374: Adjust TZ scope in mod_perl
authorMike Rylander <mrylander@gmail.com>
Tue, 23 Feb 2016 17:32:57 +0000 (12:32 -0500)
committerKathy Lussier <klussier@masslnc.org>
Fri, 27 Jan 2017 19:45:50 +0000 (14:45 -0500)
commitabecff8a02343a18f00173d12970c8ed3ec3d8ef
tree672cd521099b360b962d64577a3b2537a63c7bdc
parent28561ed72740f0c1fdf19dcc5ed009398678a025
LP#1485374: Adjust TZ scope in mod_perl

Use of a 'local' variable causes the TZ to be dropped prematurely. So,
instead, we set $ENV{TZ} globally and reset it when the mod_perl handler
object is destroyed.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm