mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-09 17:57:38 +08:00
Mailer default view class changed to "yii\web\View".
This commit is contained in:
@ -100,7 +100,7 @@ abstract class BaseMailer extends Component implements MailerInterface, ViewCont
|
||||
protected function createView(array $config)
|
||||
{
|
||||
if (!array_key_exists('class', $config)) {
|
||||
$config['class'] = '\yii\base\View';
|
||||
$config['class'] = 'yii\web\View';
|
||||
}
|
||||
return Yii::createObject($config);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user