Make drafts send with in-reply-to headers (fix regression from long ago)
[squirrelmail.git] / include / init.php
index db0d9e6b12e0a59457e8b82d70b0b597d811ebb7..e1bd3bbd050d9a95004122594f2eb7721f98f835 100644 (file)
@@ -693,6 +693,9 @@ switch (PAGE_NAME) {
         $set_up_langage_after_template_setup = TRUE;
 
         $timeZone = getPref($data_dir, $username, 'timezone');
+        global $server_timezone, $server_timezone_offset, $server_timezone_offset_seconds;
+        list($server_timezone, $server_timezone_offset, $server_timezone_offset_seconds)
+            = explode('::', date('T::O::Z'));
 
         /* Check to see if we are allowed to set the TZ environment variable.
          * We are able to do this if ...