From 4963e904a77fd6760037cc43f012bb095ed1dfd5 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 --- 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; }