From cd98cb905abf016866d57309c38e6e495b69bc9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 13 May 2021 18:45:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HttpServer/Http/File.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/HttpServer/Http/File.php b/HttpServer/Http/File.php index 28d78746..43619179 100644 --- a/HttpServer/Http/File.php +++ b/HttpServer/Http/File.php @@ -64,6 +64,11 @@ class File throw new Exception('(' . $this->name . ')Failed to open stream: No such file or directory'); } + + $content = file_get_contents($this->getTmpPath()); + var_dump($content); + + $this->newName = Snowflake::rename($this->getTmpPath()); return $this->newName; }