diff --git a/application/controllers/ErrorController.php b/application/controllers/ErrorController.php index b0010385d..2f6a22bd9 100644 --- a/application/controllers/ErrorController.php +++ b/application/controllers/ErrorController.php @@ -24,6 +24,14 @@ class ErrorController extends ActionController */ protected $requiresAuthentication = false; + /** + * {@inheritdoc} + */ + public function init() + { + $this->rerenderLayout = $this->params->has('renderLayout'); + } + /** * Display exception */