|
@@ -212,4 +212,4 @@ $namespace = _include(Qii_DIR . DS . 'Conf' . DS . 'namespace.php');
|
|
|
//捕获FATAL错误,用户可以选择记录到日志,还是直接显示或者不显示错误
|
|
|
register_shutdown_function('catch_fatal_error');
|
|
|
set_exception_handler(array('\Qii\Exceptions\Errors', 'getError'));
|
|
|
-set_error_handler(array('\Qii\Exceptions\Errors', 'getError'), E_USER_ERROR);
|
|
|
+set_error_handler(array('\Qii\Exceptions\Errors', 'getError'), E_USER_ERROR);
|