Index: application.php =================================================================== --- application.php (revision 15602) +++ application.php (working copy) @@ -346,7 +346,7 @@ $site_timezone = $this->ConfigValue('Config_Site_Time'); if ( $site_timezone ) { - putenv('TZ=' . $site_timezone); + date_default_timezone_set($site_timezone); } if ( defined('DEBUG_MODE') && $this->isDebugMode() ) { @@ -2006,7 +2006,7 @@ $user_timezone = $this->Session->GetField('TimeZone'); if ( $user_timezone ) { - putenv('TZ=' . $user_timezone); + date_default_timezone_set($user_timezone); } }