From c52ea6b45e600d8b1fff41db9e052001ce821d25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 15 Apr 2021 15:39:53 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HttpServer/Http/File.php b/HttpServer/Http/File.php index 5167d675..a006ca7c 100644 --- a/HttpServer/Http/File.php +++ b/HttpServer/Http/File.php @@ -67,7 +67,7 @@ class File */ public function getContent(): string { - $open = fopen('php://input', 'r'); + $open = fopen($this->getTmpPath(), 'r'); var_dump($open); $limit = 1024000;