[-] BO : #PSTEST-667 - Fix bug with logo and multishop

This commit is contained in:
mDeflotte
2012-02-07 09:20:01 +00:00
parent 2be9ef2493
commit 0ddef0ac8b
8 changed files with 72 additions and 61 deletions
+4 -4
View File
@@ -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;
}