1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-04 14:47:52 +02:00

Brain wanted in Room 101, Brain wanted

git-svn-id: file:///svn/phpbb/trunk@4357 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2003-08-09 16:05:58 +00:00
parent 2efff50736
commit e9c616f732

View File

@ -149,6 +149,7 @@ class compress_zip extends compress
$crc = (int) trim($tmp['crc']);
$strlen = (int) trim($tmp['strlen']);
$uc_size = (int) trim($tmp['uc_size']);
$c_size = (int) trim($tmp['c_size']);
$tmp = unpack("Vattrib/Voffset", substr($buffer, 38, 8));
$attrib = (int) trim($tmp['attrib']);
@ -162,15 +163,16 @@ class compress_zip extends compress
$seek_ary[$j]['crc'] = $crc;
$seek_ary[$j]['strlen'] = $strlen;
$seek_ary[$j]['uc_size'] = $uc_size;
$seek_ary[$j]['c_size'] = $c_size;
$seek_ary[$j]['offset'] = $offset;
$seek_ary[$j]['filename'] = $dst . $filename;
$seek_ary[$j]['filename'] = "$dst$filename";
$j++;
}
else
{
$mkdir_ary[] = $dst . $filename;
$mkdir_ary[] = "$dst$filename";
}
}