Skip to content

Commit af66851

Browse files
authored
Moving this to v-open-fs-file
1 parent d5441fd commit af66851

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/download/file/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
}
1313

1414
$path = $_REQUEST['path'];
15-
if (!empty($path) && file_exists($path)) {
15+
if (!empty($path)) {
1616
header("Content-type: application/octet-stream");
1717
header("Content-Transfer-Encoding: binary");
1818
header("Content-disposition: attachment;filename=".basename($path));

0 commit comments

Comments
 (0)