/src/download.php

Description

download.php

Handles attachment downloads to the users computer. Also allows displaying of attachments when possible.

Includes
require ('../include/init.php') (line 21)

Include the SquirrelMail initialization file.

require (SM_PATH.'functions/mime.php') (line 26)
require (SM_PATH.'functions/date.php') (line 39)
require (SM_PATH.'functions/imap_messages.php') (line 38)

If a message is viewed from the search page, $aMailbox[$passed_id]['MESSAGE_OBJECT'] is not initialized, which makes this page error out on line 65 with an undefined function. We need to include some additional files in case the object has not been initialized.

TODO: Determine why the object in question is not initialized when coming from a search page and correct. Once that is done, we can remove these includes.

Documentation generated on Fri, 28 Nov 2014 04:17:47 +0100 by phpDocumentor 1.4.3