// Fix bug with TCPDF and logo url with shop using virtual path

This commit is contained in:
mDeflotte
2012-03-12 15:24:27 +00:00
parent 7bd85bb5d9
commit 4963e904a7
+2 -3
View File
@@ -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;
}