diff options
author | sgiehl <stefangiehl@gmail.com> | 2011-05-27 01:25:00 +0400 |
---|---|---|
committer | sgiehl <stefangiehl@gmail.com> | 2011-05-27 01:25:00 +0400 |
commit | d32abe0123266062e95980e1a84bcfe8a1349ce6 (patch) | |
tree | 0dd445d830d48ec1f112c6b03cfc3dabe16ae6af /core/ReportRenderer/Pdf.php | |
parent | e7c91654df02fd0f1ce838395930ac403ce09cd7 (diff) |
fixes #2008 added possibility to define custom logo
git-svn-id: http://dev.piwik.org/svn/trunk@4816 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/ReportRenderer/Pdf.php')
-rw-r--r-- | core/ReportRenderer/Pdf.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ReportRenderer/Pdf.php b/core/ReportRenderer/Pdf.php index 05fc1ff245..00fe38407d 100644 --- a/core/ReportRenderer/Pdf.php +++ b/core/ReportRenderer/Pdf.php @@ -131,7 +131,7 @@ class Piwik_ReportRenderer_Pdf extends Piwik_ReportRenderer $this->TCPDF->SetFont($this->reportFont, $this->reportFontStyle, $this->reportSimpleFontSize); //Image($file, $x='', $y='', $w=0, $h=0, $type='', $link='', $align='', $resize=false, $dpi=300, $palign='', $ismask=false, $imgmask=false, $border=0, $fitbox=false, $hidden=false, $fitonpage=false) { $this->TCPDF->Bookmark(Piwik_Translate('PDFReports_FrontPage')); - $this->TCPDF->Image(Piwik::getLogoPath(), $this->logoImagePosition[0], $this->logoImagePosition[1], 180 / $factor = 2, 0, $type = '', $link = '', $align = '', $resize = false, $dpi = 300); + $this->TCPDF->Image(Piwik_API_API::getInstance()->getLogoUrl(true), $this->logoImagePosition[0], $this->logoImagePosition[1], 180 / $factor = 2, 0, $type = '', $link = '', $align = '', $resize = false, $dpi = 300); $this->TCPDF->Ln(8); $websiteTitle = $this->formatText(Piwik_Translate('General_Website') . " " . $websiteName); |