Browse Source

added default mail config to application.

tags/2.0.0-beta
Qiang Xue 11 years ago
parent
commit
c88016f9d8
  1. 1
      framework/yii/base/Application.php

1
framework/yii/base/Application.php

@ -489,6 +489,7 @@ abstract class Application extends Module
'errorHandler' => ['class' => 'yii\base\ErrorHandler'],
'formatter' => ['class' => 'yii\base\Formatter'],
'i18n' => ['class' => 'yii\i18n\I18N'],
'mail' => ['class' => 'yii\swiftmailer\Mailer'],
'urlManager' => ['class' => 'yii\web\UrlManager'],
'view' => ['class' => 'yii\web\View'],
]);

Loading…
Cancel
Save