From d4c8383feadd3cce5e31784714b0cf2955beff18 Mon Sep 17 00:00:00 2001 From: mDeflotte Date: Mon, 12 Mar 2012 15:24:27 +0000 Subject: [PATCH] // Fix bug with TCPDF and logo url with shop using virtual path git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14045 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/pdf/HTMLTemplate.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/classes/pdf/HTMLTemplate.php b/classes/pdf/HTMLTemplate.php index 9bf801432..d25b360ac 100755 --- a/classes/pdf/HTMLTemplate.php +++ b/classes/pdf/HTMLTemplate.php @@ -105,10 +105,9 @@ abstract class HTMLTemplateCore $logo = ''; if (Configuration::get('PS_LOGO_INVOICE') != false && file_exists(_PS_IMG_DIR_.Configuration::get('PS_LOGO_INVOICE'))) - $logo = _PS_IMG_.Configuration::get('PS_LOGO_INVOICE'); + $logo = _PS_IMG_DIR_.Configuration::get('PS_LOGO_INVOICE'); else if (Configuration::get('PS_LOGO') != false && file_exists(_PS_IMG_DIR_.Configuration::get('PS_LOGO'))) - $logo = _PS_IMG_.Configuration::get('PS_LOGO'); - + $logo = _PS_IMG_DIR_.Configuration::get('PS_LOGO'); return $logo; }