* 更改 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: