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.

Passed Data

Plugins handling this event

The following plugins are known to handle this event and their source code may be a good start for understanding and implementing a handler yourself.

See also