1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-07-01 07:21:18 +02:00

Correction de problèmes vis-à-vis de l'envoi et le téléchargement de fichiers

This commit is contained in:
galaxyoyo
2019-09-07 19:01:23 +02:00
parent 44e91a1f8b
commit 5a93a0a754
6 changed files with 37 additions and 34 deletions

View File

@ -31,7 +31,7 @@ if (isset($_POST["download_zip"])) {
header("Content-Type: application/zip");
header("Content-Disposition: attachment; filename=\"Notes de syntèses du tournoi de $tournament_name.zip\"");
header("Content-Length: " . strval(filesize($temp) + 1));
header("Content-Length: " . filesize($temp));
readfile($temp);