From 101bfb3f83092ad2b7ef835b2b354eae8572f68a Mon Sep 17 00:00:00 2001 From: thinkphp Date: Mon, 13 Jun 2016 16:11:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9BRequest=E7=B1=BB=E7=9A=84crea?= =?UTF-8?q?te=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/Request.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/think/Request.php b/library/think/Request.php index f4c6a84c..d4deb6f2 100644 --- a/library/think/Request.php +++ b/library/think/Request.php @@ -191,7 +191,8 @@ class Request $options['cookie'] = $cookie; $options['file'] = $files; $options['server'] = $server; - return new self($options); + self::$instance = new self($options); + return self::$instance; } /**