From 4f27a0f4f9d962080ab8c0b80b4a08669401bd12 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Tue, 24 May 2016 08:59:33 +0200 Subject: [PATCH] minmod --- view/iexplorer-to-call-log.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/view/iexplorer-to-call-log.php b/view/iexplorer-to-call-log.php index 2513986..297f9d0 100644 --- a/view/iexplorer-to-call-log.php +++ b/view/iexplorer-to-call-log.php @@ -86,18 +86,19 @@ /* [2] On rédige les headers =========================================================*/ header('Content-type: text/xml'); + header('Content-Disposition: attachment; filename=call-log.xml'); /* [3] On rédige le contenu du fichier XML =========================================================*/ - echo ''; - echo ''; + echo "\n"; + echo "\n"; // Pour chaque utilisateur foreach($logs as $i=>$log) - echo ""; + echo "\n"; - echo ""; + echo "\n"; // Si aucun fichier }else{ ?>