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>
Thu, 18 Aug 2016 14:45:51 +0000 (10:45 -0400)
commit6ee972083483056008fecdad7d9ff49855bc9624
treea0b50f00ec8e43efd46e155a3a31e0395d0e4aca
parentc6938328c08c98fc6bc0c58a7ebd770fd74b7e15
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