From d05d732611f16738b968640926cfcfc4dd788739 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 13 May 2021 18:50:18 +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 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/HttpServer/Http/File.php b/HttpServer/Http/File.php index 9d3379d2..8e2c018f 100644 --- a/HttpServer/Http/File.php +++ b/HttpServer/Http/File.php @@ -64,9 +64,7 @@ class File throw new Exception('(' . $this->name . ')Failed to open stream: No such file or directory'); } - - var_dump($this->getContent()); - + $this->newName = md5($this->getContent()); // $this->newName = Snowflake::rename($this->getTmpPath()); return $this->newName;