From 6214c1f3f61b5c331ee4f8094a14860136e348c1 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Fri, 25 Feb 2011 03:19:15 -0600 Subject: [PATCH] modified: lib/lib_common.php --- lib/lib_common.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/lib_common.php b/lib/lib_common.php index 14dc1af..80b45f6 100755 --- a/lib/lib_common.php +++ b/lib/lib_common.php @@ -13,11 +13,11 @@ * 更改 PHP 捕捉錯誤功能並顯示自訂錯誤 */ function PMCCore_errorHandler($errno, $errstr, $errfile, $errline){ - header('Content-type: text/plain;charset=utf-8'); + //---- header('Content-type: text/plain;charset=utf-8'); switch($errno){ case E_USER_ERROR: case E_ERROR: - exit('Error: '.$errstr); + print_r('Error: '.$errstr); break; case E_WARNING: print_r('Warning: '.$errstr.' '.$errfile.' #'.$errline); -- 2.39.2