mirror of
https://github.com/elyby/accounts.git
synced 2024-12-27 07:30:18 +05:30
28 lines
790 B
PHP
28 lines
790 B
PHP
<?php
|
|
return [
|
|
'components' => [
|
|
'db' => [
|
|
'enableSchemaCache' => true,
|
|
'schemaCacheDuration' => 3600,
|
|
'schemaCache' => 'cache',
|
|
],
|
|
'mailer' => [
|
|
'useFileTransport' => false,
|
|
'transport' => [
|
|
'class' => Swift_SmtpTransport::class,
|
|
'host' => 'ely.by',
|
|
'username' => getenv('SMTP_USER'),
|
|
'password' => getenv('SMTP_PASS'),
|
|
'port' => 587,
|
|
'encryption' => 'tls',
|
|
'streamOptions' => [
|
|
'ssl' => [
|
|
'allow_self_signed' => true,
|
|
'verify_peer' => false,
|
|
],
|
|
],
|
|
],
|
|
],
|
|
],
|
|
];
|