We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5441fd commit af66851Copy full SHA for af66851
web/download/file/index.php
@@ -12,7 +12,7 @@
12
}
13
14
$path = $_REQUEST['path'];
15
-if (!empty($path) && file_exists($path)) {
+if (!empty($path)) {
16
header("Content-type: application/octet-stream");
17
header("Content-Transfer-Encoding: binary");
18
header("Content-disposition: attachment;filename=".basename($path));
0 commit comments