Blame view

src/Template/Layout/pdf_print.ctp 156 Bytes
6bb4a0f7   Alexandre   Version: 2.2.2
1
2
3
4
5
6
7
<?php 
$this->response->header(['Content-type: application/pdf']);
$this->response->type('pdf');
$this->response->send();

echo $this->fetch('content'); 
?>