mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-01-06 00:22:21 +00:00
Exporter les données
This commit is contained in:
parent
54fc6fd395
commit
7e4a08cf48
@ -19,7 +19,7 @@ if (isset($_POST["export_team_data"])) {
|
||||
$file_name = exportTeamData();
|
||||
|
||||
header("Content-Type: text/csv");
|
||||
header("Content-Disposition: inline; filename=\"Données équipes.csv\"");
|
||||
header("Content-Disposition: attachment; filename=\"Données équipes.csv\"");
|
||||
header("Content-Length: " . strval(filesize($file_name)));
|
||||
|
||||
readfile($file_name);
|
||||
@ -31,7 +31,7 @@ if (isset($_POST["export_problems_data"])) {
|
||||
$file_name = exportProblemsData();
|
||||
|
||||
header("Content-Type: text/csv");
|
||||
header("Content-Disposition: inline; filename=\"Données problèmes.csv\"");
|
||||
header("Content-Disposition: attachment; filename=\"Données problèmes.csv\"");
|
||||
header("Content-Length: " . strval(filesize($file_name)));
|
||||
|
||||
readfile($file_name);
|
||||
|
Loading…
Reference in New Issue
Block a user