Refactored and lots of modification. See README.md.

This commit is contained in:
Lars Jung 2012-04-16 12:53:54 +02:00
parent 859a680e19
commit 71ed41fa69
85 changed files with 3191 additions and 2969 deletions

View file

@ -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;
}
}