mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 00:34:46 +02:00
Merge branch 'ent-10234-14931-codigo-generado-erroneamente-en-la-descarga-de-ficheros-de-colecciones-en-metaconsola' into 'develop'
Ent 10234 14931 codigo generado erroneamente en la descarga de ficheros de colecciones en metaconsola See merge request artica/pandorafms!5485
This commit is contained in:
commit
ec0d270078
@ -97,6 +97,7 @@ if (empty($file) === true || empty($hash) === true || $hash !== md5($file_raw.$c
|
|||||||
header('Content-Length: '.filesize($downloadable_file));
|
header('Content-Length: '.filesize($downloadable_file));
|
||||||
header('Content-Disposition: attachment; filename="'.basename($downloadable_file).'"');
|
header('Content-Disposition: attachment; filename="'.basename($downloadable_file).'"');
|
||||||
readfile($downloadable_file);
|
readfile($downloadable_file);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user