Пример #1
0
 public function render()
 {
     $mime = $this->_getMimetype();
     $contents = $this->FS->read($this->path);
     $this->httpResponse->setCacheable();
     $this->httpResponse->addHeader("content-type: {$mime};charset=utf-8");
     $this->httpResponse->setContent($contents);
     $this->httpResponse->send();
 }