mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 17:25:26 +02:00
#10234 fixed js added when file download
This commit is contained in:
parent
6d2f4d7eac
commit
11e04e2f6a
@ -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