소스 검색

feat:关闭错误信息

lizhi 1 주 전
부모
커밋
6a0dc88ca7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      protected/controllers/SiteController.php

+ 1 - 1
protected/controllers/SiteController.php

@@ -10,7 +10,7 @@ class SiteController extends Controller
 	 */
 	public function actionError()
 	{
-		Helper::error('系统错误', 500, Yii::app()->errorHandler->error);
+		Helper::error('系统错误', 500);
 	}
 
     public function beforeAction($action): bool