Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'errorHandler' => [
- 'errorAction' => 'site/error',
- ]
- public function actions()
- {
- return [
- 'error' => [
- 'class' => 'yiiwebErrorAction',
- ]
- ];
- }
- public function actionError(){
- return $this->render('error');
- }
Add Comment
Please, Sign In to add comment