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