Commit 0c1206779613f1d0748cb8cd0515dee2ff6237a8

Authored by Laurent BEIGBEDER
1 parent e480ccee
Exists in master

#6610: date added to output file

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
server/php/DownloadExport.php
... ... @@ -54,7 +54,7 @@ switch($file_info["format"])
54 54  
55 55 //set name only if from local browse input mode
56 56 if($file_name) {
57   - $file_info["name"] = $file_name.$file_info["extension"];
  57 + $file_info["name"] = $file_name."_".date("Ymdhis").$file_info["extension"];
58 58 }else {
59 59 $file_info["name"] = "treps_export_".$op_id.$file_info["extension"];
60 60 }
... ...