更新 zip 组件
This commit is contained in:
parent
dd32637d56
commit
5deae744c4
@ -42,7 +42,7 @@ class Zip
|
||||
throw new \Exception("make zip muse set [zip] extension");
|
||||
}
|
||||
|
||||
$this->zipArchive->open($zip, $flags);
|
||||
$this->zipArchive->open($zip, $flags ? : \ZipArchive::CREATE);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user