Ver código fonte

feat:关闭错误信息

lizhi 1 semana atrás
pai
commit
6a0dc88ca7
1 arquivos alterados com 1 adições e 1 exclusões
  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