mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Updated file names to avoid collision
This commit is contained in:
parent
2d801a0109
commit
5f2adbfb7a
@ -762,7 +762,7 @@ sub transfer_xml {
|
|||||||
my $file_path;
|
my $file_path;
|
||||||
|
|
||||||
if (! (empty ($name))) {
|
if (! (empty ($name))) {
|
||||||
$file_name = $name . "." . sprintf("%d",time()) . ".data";
|
$file_name = $name . "." . sprintf("%d",getCurrentUTimeMilis(). (rand()*10000)) . ".data";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
# Inherit file name
|
# Inherit file name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user