From dc0a69413fcdacd792d62567997eca79d1bf0bd7 Mon Sep 17 00:00:00 2001 From: uli Date: Mon, 7 Aug 2017 04:43:47 +0000 Subject: [PATCH] =?UTF-8?q?PDF:=20Linux-kompatible=20Dateipfade=20f=C3=BCr?= =?UTF-8?q?=20Assets?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3341 f459cee4-fb09-11de-96c3-f9c5f16c3c76 --- trunk/src/AppBundle/Pdf.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/trunk/src/AppBundle/Pdf.php b/trunk/src/AppBundle/Pdf.php index f4edc7df..25056b5a 100644 --- a/trunk/src/AppBundle/Pdf.php +++ b/trunk/src/AppBundle/Pdf.php @@ -28,8 +28,8 @@ class Pdf extends TCPDF public function Header() { - $backgroundDir = $this->webDir.'\bundles\app\images\header-bg.png'; - $logoDir = $this->webDir.'\assetic\\'.$this->getFileName('headerLogo'); + $backgroundDir = $this->webDir.'/bundles/app/images/header-bg.png'; + $logoDir = $this->webDir.'/assetic/'.$this->getFileName('headerLogo'); $this->Image($backgroundDir, 0, 0, 210, 0, '', '', '', false, 300, 'C'); $this->Image($logoDir, 0, 15, 90, 0, '', '', '', false, 300, 'C'); @@ -38,7 +38,7 @@ class Pdf extends TCPDF public function Footer() { - $footerDir = $this->webDir.'\assetic\\'.$this->getFileName('footerText'); + $footerDir = $this->webDir.'/assetic/'.$this->getFileName('footerText'); $this->ImageSVG($footerDir, 0, 228, 210, '');