From 5aff28d2b856945e0179ce4c5995f98417002298 Mon Sep 17 00:00:00 2001 From: "origami11@yandex.ru" Date: Fri, 17 May 2024 16:36:22 +0300 Subject: [PATCH] =?UTF-8?q?=D0=92=20=D1=84=D0=B0=D0=B9=D0=BB=D0=B5=20?= =?UTF-8?q?=D1=83=D1=81=D1=82=D0=B0=D0=BD=D0=BE=D0=B2=D0=BA=D0=B8=20=D0=B4?= =?UTF-8?q?=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=20=D0=BF=D0=B0=D1=80?= =?UTF-8?q?=D0=B0=D0=BC=D0=B5=D1=82=D1=80=20=D1=83=D0=BA=D0=B0=D0=B7=D1=8B?= =?UTF-8?q?=D0=B2=D0=B0=D1=8E=D1=89=D0=B8=D0=B9=20=D0=BD=D0=B0=20=D0=BF?= =?UTF-8?q?=D0=B0=D0=BF=D0=BA=D1=83=20=D1=81=20=D1=84=D0=B0=D0=B9=D0=BB?= =?UTF-8?q?=D0=B0=D0=BC=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Setup.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Setup.php b/src/Setup.php index a001080..34da2ed 100644 --- a/src/Setup.php +++ b/src/Setup.php @@ -44,8 +44,7 @@ class Setup $this->target = ''; $this->source = ''; $this->zip = new FakeZipArchive(); - $this->zip->open(strtr($file, array('.xml' => ''))); - + $this->zip->open(dirname($this->file) . '/' . $this->node->attributes()['dir']); array_push($this->stack, $this->node);