Table of Contents

MEDIA_SENDFILE

Description:
manipulate media file downloads from the wiki
DefaultAction:
send the file to the user's browser
Preventable:
yes
Added:
2008-06-23

This event wraps around the sendFile() function in lib/exe/fetch.php. Can be used to intercept or modify downloaded files and images.

Please note that the AFTER event may not be emitted when a “304 - not modified” status is sent or the file sent through X-SendFile.

Passed Data

See also