Detailed Description:
Dear Foaly,
Thanks for sharing this great script!
Just wanted to let you know it needs an update to work with the latest cmsms
releases.
Replace
global $gCms;
by
$gCms = cmsms();
Replace
$feusers = $gCms->modules['FrontEndUsers']['object'];
by
$feusers = cms_utils::get_module('FrontEndUsers');
The script wasn't correctly validating the FEU any more but doesn't produce an
error.
It just deliveres the file without validating the FEU when someone calls the
obfusticated URL.
If someone updates his/her CMSMS and tests the downloads by calling the file
after logging in, everything will work just fine but they might not be aware
that the FEU validation is no longer working...
Greetings,
Manuel