mirror of
https://github.com/Ne-Lexa/php-zip.git
synced 2025-07-09 18:36:20 +02:00
fix unknown software version
This commit is contained in:
@ -225,6 +225,10 @@ class ZipOutputStream implements ZipOutputStreamInterface
|
||||
$entry->setCreatedOS(ZipEntry::PLATFORM_UNIX);
|
||||
}
|
||||
|
||||
if ($entry->getSoftwareVersion() === ZipEntry::UNKNOWN) {
|
||||
$entry->setSoftwareVersion(63);
|
||||
}
|
||||
|
||||
if ($entry->getExtractedOS() === ZipEntry::UNKNOWN) {
|
||||
$entry->setExtractedOS(ZipEntry::PLATFORM_UNIX);
|
||||
}
|
||||
|
Reference in New Issue
Block a user