// Fixed renaming of supplier images #PSCFV-4530

This commit is contained in:
dMetzger
2012-10-02 08:35:39 +00:00
parent 4bbbae85be
commit 971e6fde93
@@ -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)
{