// Fix bug with TCPDF and logo url with shop using virtual path
This commit is contained in:
@@ -105,10 +105,9 @@ abstract class HTMLTemplateCore
|
|||||||
$logo = '';
|
$logo = '';
|
||||||
|
|
||||||
if (Configuration::get('PS_LOGO_INVOICE') != false && file_exists(_PS_IMG_DIR_.Configuration::get('PS_LOGO_INVOICE')))
|
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')))
|
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;
|
return $logo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user