mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-05-26 02:58:41 +00:00
fix tar source path
This commit is contained in:
parent
d708546c27
commit
6e6ce55bb8
|
|
@ -102,7 +102,7 @@ class Tar implements ArchiveInterface
|
||||||
|
|
||||||
$destination = \str_replace('\\', '/', $destination);
|
$destination = \str_replace('\\', '/', $destination);
|
||||||
$destination = \rtrim($destination, '/');
|
$destination = \rtrim($destination, '/');
|
||||||
$tar = new \PharData($destination);
|
$tar = new \PharData($source);
|
||||||
|
|
||||||
$tar->extractTo($destination . '/');
|
$tar->extractTo($destination . '/');
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user