From e846bb099875373992b33763f823c902cb16466e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20M=C3=BCller?= Date: Thu, 24 Apr 2014 00:27:42 +0200 Subject: [PATCH] ueberschriften --- app/Controller/PdfController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Controller/PdfController.php b/app/Controller/PdfController.php index c06f17b..072f067 100644 --- a/app/Controller/PdfController.php +++ b/app/Controller/PdfController.php @@ -10,6 +10,7 @@ class PdfController extends AppController { $this->MiconwareSession->init($this); $this->MiconwareSession->initWeb($this); + $this->response->type('application/pdf'); $WORKER = $this->MiconwareSession->getWorker(); $COMPANY = $self = $this->MiconwareSession->getCompany(); $application = null; @@ -38,6 +39,7 @@ class PdfController extends AppController { $this->MiconwareSession->init($this); $this->MiconwareSession->initWeb($this); + $this->response->type('application/pdf'); $WORKER = $this->MiconwareSession->getWorker(); if(!is_array($WORKER) or count($WORKER) <= 0){