Page MenuHomePhorge

attachment_display.php
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

attachment_display.php

<?php
/**
+-----------------------------------------------------------------------+
| This file is part of the Roundcube Webmail client |
| |
| Copyright (C) The Roundcube Dev Team |
| |
| Licensed under the GNU General Public License version 3 or |
| any later version with exceptions for skins & plugins. |
| See the README file for a full license statement. |
| |
| PURPOSE: |
| Display attachments in compose form |
+-----------------------------------------------------------------------+
| Author: Thomas Bruederli <roundcube@gmail.com> |
+-----------------------------------------------------------------------+
*/
class rcmail_action_mail_attachment_display extends rcmail_action_mail_attachment_upload
{
protected static $mode = self::MODE_HTTP;
/**
* Request handler.
*
* @param array $args Arguments from the previous step(s)
*/
public function run($args = [])
{
self::init();
self::display_uploaded_file(self::get_attachment());
exit;
}
}

File Metadata

Mime Type
text/x-php
Expires
Fri, Jun 12, 2:45 AM (8 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
881690
Default Alt Text
attachment_display.php (1 KB)

Event Timeline