summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/mail/upload.inc
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2006-09-08 12:03:22 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2006-09-08 12:03:22 +0000
commitb396375c84e2d54f0f0915a73760611a805b9f05 (patch)
tree450c7b83dce99d3828e168f5e46e2e8bade53ab7 /roundcubemail/program/steps/mail/upload.inc
parent33646461fd04f53de0e4dc79f0b6bb2e4253724e (diff)
Fixed safe_mode issues
git-svn-id: https://svn.roundcube.net/trunk@339 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail/upload.inc')
-rw-r--r--roundcubemail/program/steps/mail/upload.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/steps/mail/upload.inc b/roundcubemail/program/steps/mail/upload.inc
index 850ccd01d..cde4ed2d4 100644
--- a/roundcubemail/program/steps/mail/upload.inc
+++ b/roundcubemail/program/steps/mail/upload.inc
@@ -26,8 +26,8 @@ if (!$_SESSION['compose'])
}
-// create temp dir for file uploads
-$temp_dir = rcmail_create_compose_tempdir();
+// use common temp dir for file uploads
+$temp_dir = unslashify($CONFIG['temp_dir']);
if (!is_array($_SESSION['compose']['attachments']))