Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit d88e05c

Browse files
author
Charles Marion
committed
BUG: Fixed download with max os
1 parent 246b09e commit d88e05c

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

core/AppController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function preDispatch()
7171
}
7272
}
7373

74-
if($fc->getRequest()->getControllerName() == 'browse')
74+
if($fc->getRequest()->getControllerName() == 'browse' || $fc->getRequest()->getControllerName() == 'download')
7575
{
7676
session_write_close();
7777
}

core/public/js/layout/jquery.treeTable.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,8 @@
310310
{
311311
if(typeof customElements == 'function')
312312
{
313-
html=customElements(node,elements,first);
313+
html=customElements(node,elements,first);
314+
node.after(html)
314315
}
315316
else
316317
{

library/ZipStream/ZipStream.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ private function add_file_header($name, $opt, $meth, $crc, $zlen, $len) {
298298
# build file header
299299
$fields = array( # (from V.A of APPNOTE.TXT)
300300
array('V', 0x04034b50), # local file header signature
301-
array('v', (6 << 8) + 3), # version needed to extract
301+
array('v', (0 << 0) + A), # version needed to extract
302302
array('v', 0x00), # general purpose bit flag
303303
array('v', $meth), # compresion method (deflate or store)
304304
array('V', $dts), # dos timestamp

0 commit comments

Comments
 (0)