From c19db5fe5d944a93442e4136b4926d45a25f6b8c Mon Sep 17 00:00:00 2001 From: chenbo Date: Tue, 12 Jun 2018 20:26:55 +0800 Subject: [PATCH] =?UTF-8?q?fix=E5=88=9D=E5=A7=8B=E5=8C=96=E5=91=BD?= =?UTF-8?q?=E4=BB=A4init?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/SWBT.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SWBT.php b/src/SWBT.php index 5eded1f..615398c 100755 --- a/src/SWBT.php +++ b/src/SWBT.php @@ -57,7 +57,7 @@ public function init(){ if (!$this->container['is_independent_project']) { $swbtPath = $this->container['swbt_dir']; copy(dirname(__DIR__) . '/' . $this->container['env_name'], $swbtPath . $this->container['env_name']); - copy(dirname(__DIR__) . 'config/SWBT.php', $swbtPath . 'config/SWBT.php'); + copy(dirname(__DIR__) . '/config/SWBT.php', $swbtPath . 'config/SWBT.php'); $paths = [$swbtPath, $swbtPath . 'config', $swbtPath . 'storage', $swbtPath . 'storage/logs']; array_walk($paths, function ($path){ if (!file_exists($path)) {