// Fixed renaming of supplier images #PSCFV-4530

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17671 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
dMetzger
2012-10-02 08:35:39 +00:00
parent 496a6ef4ee
commit a589d527a9
@@ -83,7 +83,7 @@ function p15018_change_image_types()
}
// Then the other entities (if there is less than 500 products, that should not be a problem)
$directories = array('p', 'c', 'm', 's', 'scenes', 'scenes'.DIRECTORY_SEPARATOR.'thumbs', 'st');
$directories = array('p', 'c', 'm', 's', 'su', 'scenes', 'scenes'.DIRECTORY_SEPARATOR.'thumbs', 'st');
foreach ($directories as $directory)
foreach (scandir(_PS_ROOT_DIR_.DIRECTORY_SEPARATOR.'img'.DIRECTORY_SEPARATOR.$directory) as $file)
{