summaryrefslogtreecommitdiff
path: root/program/steps/mail/compose.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2006-09-08 12:03:22 +0000
committerthomascube <thomas@roundcube.net>2006-09-08 12:03:22 +0000
commit70d4b9a5dc39a7165e469aa3b4f24d49e9a20b9e (patch)
treef3cfab469bbbe08879b7de7f221b316762ee082a /program/steps/mail/compose.inc
parente170b4b7f85767703293116c95d9e02020b1c99a (diff)
Fixed safe_mode issues
Diffstat (limited to 'program/steps/mail/compose.inc')
-rw-r--r--program/steps/mail/compose.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index 14adb1266..29fdddd06 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -497,9 +497,9 @@ function rcmail_create_draft_body($body)
function rcmail_write_compose_attachments(&$message)
{
- global $IMAP;
-
- $temp_dir = rcmail_create_compose_tempdir();
+ global $IMAP, $CONFIG;
+
+ $temp_dir = unslashify($CONFIG['temp_dir']);
if (!is_array($_SESSION['compose']['attachments']))
$_SESSION['compose']['attachments'] = array();