mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 17:04:14 +01:00
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:
parent
00c61c6370
commit
f493966008
@ -96,9 +96,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 (is_uploaded_file($_formData['file']))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user