18 lines
421 B
PHP
Executable File
18 lines
421 B
PHP
Executable File
<?php
|
|
|
|
return [
|
|
'components' => [
|
|
'db' => [
|
|
'class' => \yii\db\Connection::class,
|
|
'dsn' => 'mysql:host=localhost;dbname=yii2advanced',
|
|
'username' => 'root',
|
|
'password' => '',
|
|
'charset' => 'utf8',
|
|
],
|
|
'mailer' => [
|
|
'class' => \yii\symfonymailer\Mailer::class,
|
|
'viewPath' => '@common/mail',
|
|
],
|
|
],
|
|
];
|