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, '');