aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_compress.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2003-08-09 16:05:58 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2003-08-09 16:05:58 +0000
commite9c616f7324f90db2164e3d448e353035b8f2ee3 (patch)
tree0a37af1cc09ad56870bcda8312f37bd901354a1e /phpBB/includes/functions_compress.php
parent2efff507368029dcb8a31750c7768fc3bfc39114 (diff)
downloadforums-e9c616f7324f90db2164e3d448e353035b8f2ee3.tar
forums-e9c616f7324f90db2164e3d448e353035b8f2ee3.tar.gz
forums-e9c616f7324f90db2164e3d448e353035b8f2ee3.tar.bz2
forums-e9c616f7324f90db2164e3d448e353035b8f2ee3.tar.xz
forums-e9c616f7324f90db2164e3d448e353035b8f2ee3.zip
Brain wanted in Room 101, Brain wanted
git-svn-id: file:///svn/phpbb/trunk@4357 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_compress.php')
-rw-r--r--phpBB/includes/functions_compress.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/phpBB/includes/functions_compress.php b/phpBB/includes/functions_compress.php
index 0ddfc62612..0b28ec5650 100644
--- a/phpBB/includes/functions_compress.php
+++ b/phpBB/includes/functions_compress.php
@@ -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";
}
}