[-] BO : FixBug #PSCFV-8217 Shop logo image not refresh after change

This commit is contained in:
Jérôme Nadaud
2013-07-17 18:23:59 +02:00
parent 1537f0e9eb
commit eecfdae0b6
2 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ class ImageManagerCore
}
// Relative link will always work, whatever the base uri set in the admin
if (Context::getContext()->controller->controller_type == 'admin')
return '<img src="../img/tmp/'.$cache_image.(!$disable_cache ? '?time='.time() : '').'" alt="" class="imgm" />';
return '<img src="..'.DIRECTORY_SEPARATOR.'img'.DIRECTORY_SEPARATOR.'tmp'.DIRECTORY_SEPARATOR.''.$cache_image.(!$disable_cache ? '?time='.time() : '').'" alt="" class="imgm" />';
else
return '<img src="'._PS_TMP_IMG_.$cache_image.(!$disable_cache ? '?time='.time() : '').'" alt="" class="imgm" />';
}