1234567891011121314151617181920212223242526 |
- <?php
- namespace backend\controllers;
- /**
- * 错误控制器
- * Class ErrorController
- * @package backend\controllers
- */
- class ErrorController extends BaseController
- {
- public $layout = false;
- /**
- * 动作设置
- * @author: libingke
- * @return array
- */
- public function actions()
- {
- return [
- 'error' => [
- 'class' => 'yii\web\ErrorAction',
- ]
- ];
- }
- }
|