Browse Source

Mailer default view class changed to "yii\web\View".

tags/2.0.0-beta
Paul Klimov 11 years ago
parent
commit
9dbf4d7420
  1. 2
      framework/yii/mail/BaseMailer.php

2
framework/yii/mail/BaseMailer.php

@ -100,7 +100,7 @@ abstract class BaseMailer extends Component implements MailerInterface, ViewCont
protected function createView(array $config) protected function createView(array $config)
{ {
if (!array_key_exists('class', $config)) { if (!array_key_exists('class', $config)) {
$config['class'] = '\yii\base\View'; $config['class'] = 'yii\web\View';
} }
return Yii::createObject($config); return Yii::createObject($config);
} }

Loading…
Cancel
Save