LP#1485374: Adjust TZ scope in mod_perl
authorMike Rylander <mrylander@gmail.com>
Tue, 23 Feb 2016 17:32:57 +0000 (12:32 -0500)
committerMike Rylander <mrylander@gmail.com>
Tue, 23 Feb 2016 17:32:57 +0000 (12:32 -0500)
commita15462528b9e274fea342c6411c762150079f453
treec21aa8a8c1a6b0d6f3eb17db1686aadf39381e58
parent4f25bccfeab57673ad0c4373daec813faff2a09e
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>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm