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