[-] BO : #PSTEST-667 - Fix bug with logo and multishop
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13055 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -104,10 +104,10 @@ abstract class HTMLTemplateCore
|
||||
{
|
||||
$logo = '';
|
||||
|
||||
if (file_exists(_PS_IMG_DIR_.'logo_invoice.jpg'))
|
||||
$logo = _PS_IMG_.'logo_invoice.jpg';
|
||||
else if (file_exists(_PS_IMG_DIR_.'logo.jpg'))
|
||||
$logo = _PS_IMG_.'logo.jpg';
|
||||
if (file_exists(_PS_IMG_DIR_.Configuration::get('PS_LOGO_INVOICE')))
|
||||
$logo = _PS_IMG_.Configuration::get('PS_LOGO_INVOICE');
|
||||
else if (file_exists(_PS_IMG_DIR_.Configuration::get('PS_LOGO')))
|
||||
$logo = _PS_IMG_.Configuration::get('PS_LOGO');
|
||||
|
||||
return $logo;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user