Esempio n. 1
0
 /**
  * Nooku sets the header disposition headers, we set the caching headers
  *
  * @return KViewFile
  */
 protected function _setDisposition()
 {
     header('Cache-Control: private, max-age=10800, pre-check=10800');
     header("Pragma: private");
     header("Expires: " . date("D, d M Y H:i:s", strtotime('+' . $this->expires . ' second')) . ' GMT');
     return parent::_setDisposition();
 }