[*] Classes : images.inc.php functions are now all deprecated, use the new class ImageManager instead
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12596 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -313,7 +313,7 @@ class InstallModelInstall extends InstallAbstractModel
|
||||
if (file_exists($img_path.$iso.'-default-'.$type['name'].'.jpg'))
|
||||
copy($img_path.$iso.'-default-'.$type['name'].'.jpg', $dst_path.$iso.'-default-'.$type['name'].'.jpg');
|
||||
else
|
||||
imageResize($img_path.$iso.'.jpg', $dst_path.$iso.'-default-'.$type['name'].'.jpg', $type['width'], $type['height']);
|
||||
ImageManager::resize($img_path.$iso.'.jpg', $dst_path.$iso.'-default-'.$type['name'].'.jpg', $type['width'], $type['height']);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user