|
@ -144,7 +144,7 @@ class FrontController |
|
|
$layout->setException($e); |
|
|
$layout->setException($e); |
|
|
$error_action = new ErrorAction($e); |
|
|
$error_action = new ErrorAction($e); |
|
|
if (isset($action) && is_subclass_of($action, 'AjaxAction')) { |
|
|
if (isset($action) && is_subclass_of($action, 'AjaxAction')) { |
|
|
$error_action->setAjax(); |
|
|
|
|
|
|
|
|
$error_action->setAjaxError(); |
|
|
} |
|
|
} |
|
|
return $layout->fetch($error_action); |
|
|
return $layout->fetch($error_action); |
|
|
} |
|
|
} |
|
|