From 7e4a08cf48688a30b75a5da3a610fe5264253687 Mon Sep 17 00:00:00 2001 From: Yohann Date: Mon, 21 Oct 2019 23:10:50 +0200 Subject: [PATCH] =?UTF-8?q?Exporter=20les=20donn=C3=A9es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server_files/controllers/exporter_donnees.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server_files/controllers/exporter_donnees.php b/server_files/controllers/exporter_donnees.php index 736cb09..71b786d 100644 --- a/server_files/controllers/exporter_donnees.php +++ b/server_files/controllers/exporter_donnees.php @@ -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);