View Issue Details

IDProjectCategoryView StatusLast Update
0007312OXID eShop (all versions)2.1. Master Settingspublic2022-03-15 09:47
Reporterkeywan.ghadami Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
Summary0007312: SystemRequirements folder check is slow if there are many pictures in the filesystem
DescriptionSystemRequirements folder check is slow if there are many pictures in the filesystem
TagsNo tags attached.
ThemeNot defined
BrowserNot defined
PHP VersionNot defined
Database VersionNot defined

Activities

QA

2022-03-14 14:56

administrator   ~0013793

-MK

michael_keiluweit

2022-03-15 09:47

administrator   ~0013795

Instead of crawling through the whole directory it would be probably better to use the known directory structure from the database to specifically check those folders in question only.
One way to get the path of the folders would be to use a similar approach like it was made in the PictureHandler class. The deletion methods are building a dedicated path to the picture folder (icon, thumbnail, ...): https://github.com/OXID-eSales/oxideshop_ce/blob/v7.0.0-rc.1/source/Core/PictureHandler.php#L88