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;