去掉Error类里面的多余调试代码

This commit is contained in:
thinkphp
2013-04-01 18:22:17 +08:00
parent bb8ce3fcf0
commit 3de1949696

View File

@@ -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);