thomascube
2008-09-05 c8a21d646ca96aaf00867b90b582a6572c591ee2
program/include/main.inc
@@ -317,7 +317,7 @@
    $is_iso_8859_1 = true;
  }
  if (!$enctype)
    $enctype = $GLOBALS['OUTPUT_TYPE'];
    $enctype = $OUTPUT->type;
  // encode for plaintext
  if ($enctype=='text')
@@ -706,8 +706,8 @@
    return '';
   
  // get user's timezone
  if ($CONFIG['timezone'] == 'auto')
    $tz = isset($_SESSION['timezone']) ? $_SESSION['timezone'] : intval(date('O'))/100;
  if ($CONFIG['timezone'] === 'auto')
    $tz = isset($_SESSION['timezone']) ? $_SESSION['timezone'] : date('Z')/3600;
  else {
    $tz = $CONFIG['timezone'];
    if ($CONFIG['dst_active'])