MDL-16861 packer? undoing last commit, does not seem correct

This commit is contained in:
skodak 2008-10-17 06:33:45 +00:00
parent cd5e186626
commit 1aa957947a

View File

@ -127,7 +127,7 @@ class zip_packer extends file_packer {
if ($file->isDot()) {
continue;
}
$newpath = $archivepath.'/'.$file->getFilename();
$newpath = $archivepath.$file->getFilename();
$this->archive_pathname($ziparch, $newpath, $file->getPathname());
}
unset($files); //release file handles