1234567891011121314151617181920212223242526 |
- <?php
- if (!defined('GNUSOCIAL')) { exit(1); }
- class Attachment_downloadAction extends AttachmentAction
- {
- public function showPage(): void
- {
-
-
-
- @ini_set('display_errors', 0);
- common_send_file($this->filepath, $this->mimetype, $this->filename, 'attachment');
- }
- }
|