LP#1485374: Adjust TZ scope in mod_perl
authorMike Rylander <mrylander@gmail.com>
Tue, 23 Feb 2016 17:32:57 +0000 (12:32 -0500)
committerJason Stephenson <jason@sigio.com>
Sun, 11 Sep 2016 14:12:26 +0000 (10:12 -0400)
commitf9ce4283ff412635e646c75b07da58130053480c
treee91e1786e30bb1202bee5e8e38e4592a02b1a674
parentd625cc74161d2f26a9d517732fd4b89fa12494d1
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>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm