|
@@ -52,6 +52,20 @@ return [
|
|
|
'redis' => array_merge(['class' => 'yii\redis\Connection'], $mainConfig['otherRedis']),
|
|
'redis' => array_merge(['class' => 'yii\redis\Connection'], $mainConfig['otherRedis']),
|
|
|
// 'tokenRedis' => array_merge(['class' => 'common\components\Redis'], $mainConfig['tokenRedis']),
|
|
// 'tokenRedis' => array_merge(['class' => 'common\components\Redis'], $mainConfig['tokenRedis']),
|
|
|
// 'redis' => array_merge(['class' => 'common\components\Redis'], $mainConfig['otherRedis']),
|
|
// 'redis' => array_merge(['class' => 'common\components\Redis'], $mainConfig['otherRedis']),
|
|
|
|
|
+// 'mailer' => [
|
|
|
|
|
+// 'class' => 'yii\swiftmailer\Mailer',
|
|
|
|
|
+// 'viewPath' => '@common/mail',
|
|
|
|
|
+// 'useFileTransport' => false,
|
|
|
|
|
+// 'enableSwiftMailerLogging' => true,
|
|
|
|
|
+// 'transport' => [
|
|
|
|
|
+// 'class' => 'Swift_SmtpTransport',
|
|
|
|
|
+// 'host' => 'mail.authsmtp.com',
|
|
|
|
|
+// 'port' => 325,
|
|
|
|
|
+// 'username' => 'ac71555',
|
|
|
|
|
+// 'password' => 'I1j-MKi-fJ8-nHb',
|
|
|
|
|
+//// 'encryption' => 'TLS',
|
|
|
|
|
+// ],
|
|
|
|
|
+// ],
|
|
|
'mailer' => [
|
|
'mailer' => [
|
|
|
'class' => 'yii\swiftmailer\Mailer',
|
|
'class' => 'yii\swiftmailer\Mailer',
|
|
|
'viewPath' => '@common/mail',
|
|
'viewPath' => '@common/mail',
|
|
@@ -63,7 +77,12 @@ return [
|
|
|
'port' => 325,
|
|
'port' => 325,
|
|
|
'username' => 'ac71555',
|
|
'username' => 'ac71555',
|
|
|
'password' => 'I1j-MKi-fJ8-nHb',
|
|
'password' => 'I1j-MKi-fJ8-nHb',
|
|
|
-// 'encryption' => 'TLS',
|
|
|
|
|
|
|
+ //'encryption' => 'TLS',
|
|
|
|
|
+ 'streamOptions' => [
|
|
|
|
|
+ 'socket' => [
|
|
|
|
|
+ 'bindto' => '0.0.0.0:0',
|
|
|
|
|
+ ],
|
|
|
|
|
+ ],
|
|
|
],
|
|
],
|
|
|
],
|
|
],
|
|
|
'swooleAsyncTimer' => [
|
|
'swooleAsyncTimer' => [
|