瀏覽代碼

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