// Fixed renaming of supplier images #PSCFV-4530
This commit is contained in:
@@ -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)
|
// 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 ($directories as $directory)
|
||||||
foreach (scandir(_PS_ROOT_DIR_.DIRECTORY_SEPARATOR.'img'.DIRECTORY_SEPARATOR.$directory) as $file)
|
foreach (scandir(_PS_ROOT_DIR_.DIRECTORY_SEPARATOR.'img'.DIRECTORY_SEPARATOR.$directory) as $file)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user