mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-05 21:49:28 +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
991a4336b1
commit
f37ef23f77
@ -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')
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user