mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-06 13:26:38 +02:00
Fixes syntax error in ZipIt.php.
This commit is contained in:
@@ -28,7 +28,7 @@ class ZipIt {
|
|||||||
|
|
||||||
$zip->addEmptyDir("/");
|
$zip->addEmptyDir("/");
|
||||||
foreach ($hrefs as $href) {
|
foreach ($hrefs as $href) {
|
||||||
$d = H5ai::normalize_path(dirname($href, true));
|
$d = H5ai::normalize_path(dirname($href), true);
|
||||||
$n = basename($href);
|
$n = basename($href);
|
||||||
$code = $this->h5ai->getHttpCode($d);
|
$code = $this->h5ai->getHttpCode($d);
|
||||||
if ($code == 401) {
|
if ($code == 401) {
|
||||||
|
Reference in New Issue
Block a user