Name
mgd_serve_attachment -- Serve an attachment
Synopsis
bool mgd_serve_attachment
(int id);
Description
Minimum version: Midgard 1.4 (Bifrost)
Serves the Content-Type header, any other headers that were
specified with Header, and the content to the browser.
Returns true if successfull. Returns false on failure.
Example
<?php
mgd_serve_attachment(13);
exit();
?>