From: sparky4 Date: Fri, 25 Feb 2011 09:19:15 +0000 (-0600) Subject: modified: lib/lib_common.php X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=6214c1f3f61b5c331ee4f8094a14860136e348c1;p=test.git modified: lib/lib_common.php --- 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);