diff --git a/app/View/Pdf/application.ctp b/app/View/Pdf/application.ctp index 67ed092..673838d 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'); // 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 e5a3443..65d30ce 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'); // TO Download -//echo $tcpdf->Output('filename.pdf','D'); +echo $tcpdf->Output('filename.pdf','D'); ?>