taking care of a reported problem by r.berger, as tmpname of uploaded files turns out to be the same all the time, when you upload files with same extensions in some enviroments

This commit is contained in:
Klaus Leithoff 2009-10-13 15:31:43 +00:00
parent 991a4336b1
commit f37ef23f77

View File

@ -101,9 +101,7 @@
$tmpFileName = $GLOBALS['egw_info']['server']['temp_dir'].
SEP.
$GLOBALS['egw_info']['user']['account_id'].
$this->composeID.
basename($_formData['file']);
md5(time().$GLOBALS['egw_info']['user']['account_id'].$this->composeID.basename($_formData['file']));
if (parse_url($_formData['file'],PHP_URL_SCHEME) == 'vfs')
{