When you upload a learnpath, the file is uploaded with his own filename in app/cache.
If the file is already present, the uploaded file content will be appended and the file will be corrupted or possibly too big.
It's also a problem if users upload the same file at the same time.
|
if ('learnpath' === $_REQUEST['origin'] && !empty($_REQUEST['name'])) { |
When you upload a learnpath, the file is uploaded with his own filename in app/cache.
If the file is already present, the uploaded file content will be appended and the file will be corrupted or possibly too big.
It's also a problem if users upload the same file at the same time.
chamilo-lms/main/inc/lib/javascript/bigupload/inc/bigUpload.php
Line 48 in 78d9462