From 8a45ffac0e4a262f79454dcd2412ee62ee5fbce8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Tue, 26 Oct 2021 10:25:36 +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 --- http-core/Server.php | 2 +- kiri-engine/Error/ErrorHandler.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/http-core/Server.php b/http-core/Server.php index 86c8d8f6..d20d3c9d 100644 --- a/http-core/Server.php +++ b/http-core/Server.php @@ -92,7 +92,7 @@ class Server implements OnRequestInterface $PsrResponse = $this->exceptionHandler->emit($throwable, $this->response); } finally { $this->responseEmitter->sender($response, $PsrResponse); - $this->eventDispatch->dispatch(new OnAfterRequest()); +// $this->eventDispatch->dispatch(new OnAfterRequest()); } } diff --git a/kiri-engine/Error/ErrorHandler.php b/kiri-engine/Error/ErrorHandler.php index 11353879..7bd78474 100644 --- a/kiri-engine/Error/ErrorHandler.php +++ b/kiri-engine/Error/ErrorHandler.php @@ -15,7 +15,7 @@ use Kiri\Abstracts\Component; use Kiri\Core\Json; use Kiri\Events\EventDispatch; use Kiri\Kiri; -use Server\Events\OnAfterRequest; +use Http\Events\OnAfterRequest; /** * Class ErrorHandler