Explorar o código

1feature/EK-5822

ryan hai 5 días
pai
achega
c59668d199
Modificáronse 1 ficheiros con 1 adicións e 20 borrados
  1. 1 20
      common/config/main.php

+ 1 - 20
common/config/main.php

@@ -52,20 +52,6 @@ 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',
@@ -77,12 +63,7 @@ return [
                 'port' => 325,
                 'port' => 325,
                 'username' => 'ac71555',
                 'username' => 'ac71555',
                 'password' => 'I1j-MKi-fJ8-nHb',
                 'password' => 'I1j-MKi-fJ8-nHb',
-                //'encryption' => 'TLS',
-                'streamOptions' => [
-                    'socket' => [
-                        'bindto' => '0.0.0.0:0',
-                    ],
-                ],
+//                'encryption' => 'TLS',
             ],
             ],
         ],
         ],
         'swooleAsyncTimer' => [
         'swooleAsyncTimer' => [