diff --git a/app/View/Pdf/application.ctp b/app/View/Pdf/application.ctp index 673838d..2c98dde 100644 --- a/app/View/Pdf/application.ctp +++ b/app/View/Pdf/application.ctp @@ -97,8 +97,8 @@ foreach($application['Page'] as $page){ // etc. // see the TCPDF examples -//echo $tcpdf->Output('filename.pdf'); +echo $tcpdf->Output('filename.pdf','I'); // TO Download -echo $tcpdf->Output('filename.pdf','D'); +//echo $tcpdf->Output('filename.pdf','D'); ?> diff --git a/app/View/Pdf/profil.ctp b/app/View/Pdf/profil.ctp index 65d30ce..8e3d166 100644 --- a/app/View/Pdf/profil.ctp +++ b/app/View/Pdf/profil.ctp @@ -71,8 +71,8 @@ foreach($WORKER['DreamjobPageInh'] as $page){ // etc. // see the TCPDF examples -//echo $tcpdf->Output('filename.pdf'); +echo $tcpdf->Output('filename.pdf','I'); // TO Download -echo $tcpdf->Output('filename.pdf','D'); +//echo $tcpdf->Output('filename.pdf','D'); ?>