Commit 854b7eda authored by ndurand's avatar ndurand
Browse files

changement nom

parent ca79501a
......@@ -116,7 +116,7 @@ class ExportController extends ControllerBase
header("Content-Disposition: attachment; filename=" . "export-" . date("Ymd-His") . ".zip");
// génération du nom de fichier temporaire
$filename = 'tmp_'.time()."_".rand(0, 9999);
$filename = "export-" . date("Ymd-His")."_".rand(0, 9999);
$geojsonFile = $filename.".geojson";
$shpFile = $filename.".shp";
$zipFile = $filename.".zip";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment