mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-20 14:17:46 +01:00
merge from yiisoft/yii2
This commit is contained in:
@@ -263,7 +263,10 @@ class ErrorHandler extends \yii\base\ErrorHandler
|
||||
return ob_get_clean();
|
||||
}
|
||||
|
||||
return Yii::$app->getView()->renderFile($_file_, $_params_, $this);
|
||||
$view = Yii::$app->getView();
|
||||
$view->clear();
|
||||
|
||||
return $view->renderFile($_file_, $_params_, $this);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user