diff --git a/web/download/file/index.php b/web/download/file/index.php index b0a462f41..0cc5b5c10 100644 --- a/web/download/file/index.php +++ b/web/download/file/index.php @@ -12,7 +12,7 @@ if (($_SESSION['user'] == 'admin') && (!empty($_SESSION['look']))) { } $path = $_REQUEST['path']; -if (!empty($path) && file_exists($path)) { +if (!empty($path)) { header("Content-type: application/octet-stream"); header("Content-Transfer-Encoding: binary"); header("Content-disposition: attachment;filename=".basename($path));