mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9768 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -155,7 +155,12 @@ class compress_zip extends compress
|
||||
*/
|
||||
function compress_zip($mode, $file)
|
||||
{
|
||||
return $this->fp = @fopen($file, $mode . 'b');
|
||||
$this->fp = @fopen($file, $mode . 'b');
|
||||
|
||||
if (!$this->fp)
|
||||
{
|
||||
trigger_error('Unable to open file ' . $file . ' [' . $mode . 'b]');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user