From 820cb64849f52345ece5a828b38b73c0619bd4f3 Mon Sep 17 00:00:00 2001 From: He110te4m Date: Mon, 2 Apr 2018 15:55:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=94=99=E8=AF=AF=E5=A4=84?= =?UTF-8?q?=E7=90=86=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- despote/kernel/ErrCatch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/despote/kernel/ErrCatch.php b/despote/kernel/ErrCatch.php index 93f03cc..53c939f 100644 --- a/despote/kernel/ErrCatch.php +++ b/despote/kernel/ErrCatch.php @@ -77,7 +77,7 @@ public function onShutdown() $error = error_get_last(); if ($error) { - $this->display($error['type'], $error['message'], $error['file'], $error['line']); + $this->display('error', $error['message'], $error['file'], $error['line']); } }