PDF: Linux-kompatible Dateipfade für Assets
git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3341 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
parent
652eeb16cb
commit
dc0a69413f
1 changed files with 3 additions and 3 deletions
|
|
@ -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, '');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue