mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-29 14:35:18 -04:00
Refactored and lots of modification. See README.md.
This commit is contained in:
parent
859a680e19
commit
71ed41fa69
85 changed files with 3191 additions and 2969 deletions
|
@ -28,7 +28,7 @@ class ZipIt {
|
|||
|
||||
$zip->addEmptyDir("/");
|
||||
foreach ($hrefs as $href) {
|
||||
$d = safe_dirname($href, true);
|
||||
$d = H5ai::normalize_path(dirname($href, true));
|
||||
$n = basename($href);
|
||||
$code = $this->h5ai->getHttpCode($d);
|
||||
if ($code == 401) {
|
||||
|
@ -82,7 +82,7 @@ class ZipIt {
|
|||
}
|
||||
}
|
||||
}
|
||||
return code;
|
||||
return $code;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue