summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-12-05 07:38:54 +0000
committeralecpl <alec@alec.pl>2008-12-05 07:38:54 +0000
commit133bb07f78b9486f0a524390253f08a0b446c584 (patch)
tree878cf3d5e67033a8523c840d260f6fec6814b27a /index.php
parent7f43e18fde11cf30a8b8fbe71ab5e2a0dba823f8 (diff)
- performance: skip imap connection for attachments actions
- created attachments.inc file for attachment upload, remove and display actions
Diffstat (limited to 'index.php')
-rw-r--r--index.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/index.php b/index.php
index 74c7c21d8..6f24ef7b6 100644
--- a/index.php
+++ b/index.php
@@ -176,8 +176,9 @@ $action_map = array(
'send' => 'sendmail.inc',
'expunge' => 'folders.inc',
'purge' => 'folders.inc',
- 'remove-attachment' => 'compose.inc',
- 'display-attachment' => 'compose.inc',
+ 'remove-attachment' => 'attachments.inc',
+ 'display-attachment' => 'attachments.inc',
+ 'upload' => 'attachments.inc',
),
'addressbook' => array(