Merge pull request #10168 from owncloud/parallel-download-on-public-shared-folder-master

close session right before the download starts - this enables parallel d...
This commit is contained in:
Morris Jobke 2014-08-05 14:54:44 +02:00
commit c83c90342e

View file

@ -100,6 +100,7 @@ if (isset($path)) {
$file = basename($path);
// Download the file
if (isset($_GET['download'])) {
\OC::$server->getSession()->close();
if (isset($_GET['files'])) { // download selected files
$files = urldecode($_GET['files']);
$files_list = json_decode($files);