Share: fix downloading selected files from public shared folder
This commit is contained in:
parent
7fa9181a26
commit
a1db280a46
|
@ -113,7 +113,7 @@ if (isset($path)) {
|
||||||
// Download the file
|
// Download the file
|
||||||
if (isset($_GET['download'])) {
|
if (isset($_GET['download'])) {
|
||||||
if (isset($_GET['files'])) { // download selected files
|
if (isset($_GET['files'])) { // download selected files
|
||||||
OC_Files::get($dir, $_GET['files'], $_SERVER['REQUEST_METHOD'] == 'HEAD' ? true : false);
|
OC_Files::get($path, $_GET['files'], $_SERVER['REQUEST_METHOD'] == 'HEAD' ? true : false);
|
||||||
} else {
|
} else {
|
||||||
OC_Files::get($dir, $file, $_SERVER['REQUEST_METHOD'] == 'HEAD' ? true : false);
|
OC_Files::get($dir, $file, $_SERVER['REQUEST_METHOD'] == 'HEAD' ? true : false);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue