yllar
2006-12-11 df8e8ec9eee72743d0f14a8409aacf66c4a80d89
program/include/rcube_shared.inc
@@ -169,6 +169,9 @@
    if (strlen($this->scripts['foot']))
      $__page_footer .= sprintf($this->script_tag, $this->scripts['foot']);
    if ($this->footer)
      $__page_footer .= "\n" . $this->footer;
    $__page_header .= $this->css->show();
  
@@ -1215,8 +1218,12 @@
// send header with expire date 30 days in future
function send_future_expire_header()
  {
  if (!headers_sent())
    header("Expires: ".gmdate("D, d M Y H:i:s", mktime()+2600000)." GMT");
  if (headers_sent())
    return;
  header("Expires: ".gmdate("D, d M Y H:i:s", mktime()+2600000)." GMT");
  header("Cache-Control: ");
  header("Pragma: ");
  }