i would like to change the root folder in scan.php (administrator\components\com_jdownloads\helpers).
The case is, that my site has about 8000 documents with over 300 categories, but the directory where documents being added via file browser are only a few.
I've created a task to execute the scan job every 30 minutes.
So changing the root folder would have positive impacts in performance.
I tried to understand the script but it seems like the defintion for the root directory is in an other script.