1
0
mirror of https://github.com/Ne-Lexa/php-zip.git synced 2025-08-18 13:11:17 +02:00

2 Commits

Author SHA1 Message Date
Ne-Lexa
c420f191dd Merge branch 'hotfix/3.1.14' 2019-12-09 12:17:55 +03:00
Ne-Lexa
50015f25f3 fix unknown software version 2019-12-09 12:13:56 +03:00

View File

@@ -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);
}