Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
prodige
bdl_visualiseur_core
Commits
854b7eda
Commit
854b7eda
authored
Feb 19, 2021
by
ndurand
Browse files
changement nom
parent
ca79501a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Controllers/ExportController.php
View file @
854b7eda
...
...
@@ -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"
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment