mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-27 13:34:30 -04:00
Refactors php_tar. Fixes tar file header, now supports long paths. Adds support for emtpy dirs. Ignores empty files (failed).
This commit is contained in:
parent
02dd104223
commit
74f1c0a986
2 changed files with 104 additions and 57 deletions
|
@ -111,6 +111,7 @@ class Api {
|
|||
|
||||
$hrefs = explode("|:|", trim($hrefs));
|
||||
|
||||
set_time_limit(0);
|
||||
header("Content-Type: application/octet-stream");
|
||||
header("Content-Disposition: attachment; filename=\"$as\"");
|
||||
header("Connection: close");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue