diff --git a/framework/yii/views/errorHandler/error.php b/framework/yii/views/errorHandler/error.php index 46ba47f..c9afaf5 100644 --- a/framework/yii/views/errorHandler/error.php +++ b/framework/yii/views/errorHandler/error.php @@ -5,6 +5,7 @@ */ $title = $handler->htmlEncode($exception instanceof \yii\base\Exception ? $exception->getName() : get_class($exception)); ?> +beginPage(); ?> @@ -64,3 +65,4 @@ $title = $handler->htmlEncode($exception instanceof \yii\base\Exception ? $excep endBody(); // to allow injecting code into body (mostly by Yii Debug Toolbar) ?> +endPage(); ?> diff --git a/framework/yii/views/errorHandler/exception.php b/framework/yii/views/errorHandler/exception.php index 7c3d277..6482fae 100644 --- a/framework/yii/views/errorHandler/exception.php +++ b/framework/yii/views/errorHandler/exception.php @@ -4,6 +4,7 @@ * @var \yii\base\ErrorHandler $handler */ ?> +beginPage(); ?> @@ -488,3 +489,4 @@ window.onload = function() { +endPage(); ?>