mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +00:00
fix zip unpack
This commit is contained in:
parent
3828832230
commit
82fd468519
|
|
@ -101,7 +101,7 @@ class Zip implements ArchiveInterface
|
|||
*/
|
||||
public static function unpack(string $source, string $destination) : bool
|
||||
{
|
||||
if (!\is_file($source) || \is_dir($destination)) {
|
||||
if (!\is_file($source) || !\is_dir($destination)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user