[-] BO : #PSTEST-667 - Fix bug with favicon and stores icon and multishop

This commit is contained in:
mDeflotte
2012-02-07 10:10:40 +00:00
parent fa59a48799
commit e7ed93c2bf
7 changed files with 31 additions and 19 deletions
+1 -1
View File
@@ -158,7 +158,7 @@ class StoresControllerCore extends FrontController
*/
protected function assignStores()
{
$this->context->smarty->assign('hasStoreIcon', file_exists(dirname(__FILE__).'/../img/logo_stores.gif'));
$this->context->smarty->assign('hasStoreIcon', file_exists(dirname(__FILE__).'/../img/'.Configuration::get('PS_STORES_ICON')));
$distanceUnit = Configuration::get('PS_DISTANCE_UNIT');
if (!in_array($distanceUnit, array('km', 'mi')))