View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007312 | OXID eShop (all versions) | 2.1. Master Settings | public | 2022-03-14 14:17 | 2024-09-11 15:00 |
Reporter | keywan.ghadami | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | acknowledged | Resolution | open | ||
Summary | 0007312: SystemRequirements folder check is slow if there are many pictures in the filesystem | ||||
Description | SystemRequirements folder check is slow if there are many pictures in the filesystem | ||||
Tags | No tags attached. | ||||
Theme | Not defined | ||||
Browser | Not defined | ||||
PHP Version | Not defined | ||||
Database Version | Not defined | ||||
|
-MK |
|
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 |