Helps to actually unset the timezone.
authorJan Schneider <jan@horde.org>
Thu, 20 Aug 2009 21:42:20 +0000 (23:42 +0200)
committerJan Schneider <jan@horde.org>
Thu, 20 Aug 2009 21:53:22 +0000 (23:53 +0200)
framework/Core/lib/Horde.php

index 5d3a46f..1f71c11 100644 (file)
@@ -122,6 +122,7 @@ class Horde
         $locale = setlocale(LC_TIME, 0);
         setlocale(LC_TIME, 'C');
         $tz = getenv('TZ');
+        @putenv('TZ');
 
         $logger->log($message, $priority);