mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-12 14:58:42 +00:00
Fix path
This commit is contained in:
parent
823f161451
commit
d708546c27
|
|
@ -56,12 +56,12 @@ class TarGz implements ArchiveInterface
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!Gz::unpack($source, $destination . File::name($source) . '.tmp')) {
|
if (!Gz::unpack($source, $destination . '/' . File::name($source) . '.tmp')) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
$unpacked = Tar::unpack($destination . File::name($source) . '.tmp', $destination);
|
$unpacked = Tar::unpack($destination . '/' . File::name($source) . '.tmp', $destination);
|
||||||
\unlink($destination . File::name($source) . '.tmp');
|
\unlink($destination . '/' . File::name($source) . '.tmp');
|
||||||
|
|
||||||
return $unpacked;
|
return $unpacked;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user