1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 08:47:45 +02:00

- install style and style elements

- refresh template and style cache


git-svn-id: file:///svn/phpbb/trunk@5416 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2006-01-02 17:30:59 +00:00
parent e68d442f52
commit 2faf2639ee
13 changed files with 754 additions and 39 deletions

View File

@@ -184,7 +184,12 @@ class compress_zip extends compress
$file_name_length = unpack("v", fread($this->fp, 2)); // filename length
$extra_field_length = unpack("v", fread($this->fp, 2)); // extra field length
$file_name = fread($this->fp, $file_name_length[1]); // filename
fread($this->fp, $extra_field_length[1]);
if ($extra_field_length[1])
{
fread($this->fp, $extra_field_length[1]);
}
$file['offset'] = ftell($this->fp);
// Bypass the whole compressed contents, and look for the next file
@@ -560,7 +565,12 @@ class compress_tar extends compress
{
$fzwrite = ($this->isbz && function_exists('bzwrite')) ? 'bzwrite' : (($this->isgz && extension_loaded('zlib')) ? 'gzwrite' : 'fwrite');
$fzclose = ($this->isbz && function_exists('bzclose')) ? 'bzclose' : (($this->isgz && extension_loaded('zlib')) ? 'gzclose' : 'fclose');
if ($this->wrote) $fzwrite($this->fp, pack("a1024", ""));
if ($this->wrote)
{
$fzwrite($this->fp, pack("a1024", ""));
}
$fzclose($this->fp);
}