From aa19995b4ad18858c471488f466e73d53beefe76 Mon Sep 17 00:00:00 2001 From: Chaim Date: Sun, 7 Jun 2020 12:00:43 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E6=8A=96=E9=9F=B3=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E5=88=B0=E4=BA=91=E5=AD=98=E5=82=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/service/StorageService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/service/StorageService.php b/src/service/StorageService.php index 181fd7d..60d31f2 100644 --- a/src/service/StorageService.php +++ b/src/service/StorageService.php @@ -70,7 +70,7 @@ class StorageService extends Service if (empty($this->path)) $this->getConfig(); // 判断是否存在 is_dir($this->path) or mkdir($this->path, 0777, true); - return file_put_contents("{$this->path}/{$name}", $this->remotely); + return file_put_contents("{$this->path}{$name}", $this->remotely); } /**