From 3de19496964ba9f55b7b16f0623c5ec68b558d10 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Mon, 1 Apr 2013 18:22:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89Error=E7=B1=BB=E9=87=8C?= =?UTF-8?q?=E9=9D=A2=E7=9A=84=E5=A4=9A=E4=BD=99=E8=B0=83=E8=AF=95=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Think/Error.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Think/Error.php b/Think/Error.php index 0c7884a8..40e03c08 100644 --- a/Think/Error.php +++ b/Think/Error.php @@ -41,7 +41,7 @@ class Error { case E_PARSE: case E_CORE_ERROR: case E_COMPILE_ERROR: - case E_USER_ERROR:echo ("2"); + case E_USER_ERROR: $errorStr = "[$errno] $errstr ".$errfile." 第 $errline 行."; Log::write($errorStr,'ERROR'); self::halt($errorStr);