/
[custom] Change upload folder for "widget" unit [5.2.2-B1]

[custom] Change upload folder for "widget" unit [5.2.2-B1]

The "widget" unit (and "Widgets" section) is created in "Custom" ("Development Kit") module to act as demonstration of various features, that can be used in other units as well.

One of features is sharding of file upload locations (when file is uploaded to different sub-folder based on it's name to avoid problem with having >2000 files per folder). Unfortunately upload location is set to "/system" folder root and creates a lot of sub-folders in it.

Solution

Change upload folder for "widget" unit to "/system/widgets".

Related Tasks