���� JFIF �� � ( %"1"%)+...383,7(-.-
![]() Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20 System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64 User : apache ( 48) PHP Version : 7.4.20 Disable Function : NONE Directory : /var/www/html/img.123vid.top/vendor/phpoffice/common/src/Common/Adapter/Zip/ |
<?php namespace PhpOffice\Common\Adapter\Zip; use ZipArchive; class ZipArchiveAdapter implements ZipInterface { /** * @var ZipArchive */ protected $oZipArchive; /** * @var string */ protected $filename; public function open($filename) { $this->filename = $filename; $this->oZipArchive = new ZipArchive(); if ($this->oZipArchive->open($this->filename, ZipArchive::OVERWRITE) === true) { return $this; } if ($this->oZipArchive->open($this->filename, ZipArchive::CREATE) === true) { return $this; } throw new \Exception("Could not open $this->filename for writing."); } public function close() { if ($this->oZipArchive->close() === false) { throw new \Exception("Could not close zip file $this->filename."); } return $this; } public function addFromString($localname, $contents) { if ($this->oZipArchive->addFromString($localname, $contents) === false) { throw new \Exception("Error zipping files : " . $localname); } return $this; } }