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; }