Re: Would like configuration option to disallow all attachments
Tomas Kuliavas <[email protected]>
| Newsgroups | gmane.mail.squirrelmail.devel |
|---|---|
| Message-ID | <[email protected]> |
RSH-5 wrote: > > Hi all, I have a requirement to not allow any attachments in our SM > system. Unfortunately, there doesn't seem to be any configuration option > or plug-in to do this. Absent this in the short term, any advice on > directly modifying the code is appreciated. > Attachments are uploaded in src/compose.php script. If temp directory is not writable by web server user, users can't upload files, but src/compose.php will disable notice about it. Look for move_uploaded_file() function in src/compose.php. Attachment display is controlled in attachment hooks. If code has a hook, it can be controlled by plugins. -- Tomas -- View this message in context: http://www.nabble.com/Would-like-configuration-option-to-disallow-all-attachments-tp21021995p21022119.html Sent from the squirrelmail-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ----- squirrelmail-devel mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: [email protected] List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel