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:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user