// revert from r11699

This commit is contained in:
aFolletete
2011-12-22 21:56:00 +00:00
parent bc710b37bc
commit a95af103b6
19 changed files with 170 additions and 167 deletions
+1 -4
View File
@@ -373,13 +373,10 @@ class AdminStoresControllerCore extends AdminController
{
$images_types = ImageType::getImagesTypes('stores');
foreach ($images_types as $k => $image_type)
{
$theme = (Shop::isFeatureActive() ? '-'.$image_type['id_theme'] : '');
imageResize(_PS_STORE_IMG_DIR_.$id_store.'.jpg',
_PS_STORE_IMG_DIR_.$id_store.'-'.stripslashes($image_type['name']).$theme.'.jpg',
_PS_STORE_IMG_DIR_.$id_store.'-'.stripslashes($image_type['name']).'.jpg',
(int)$image_type['width'], (int)$image_type['height']
);
}
}
return $ret;
}