diff --git a/common/config/.gitignore b/common/config/.gitignore index 97c0f01..0ba9164 100755 --- a/common/config/.gitignore +++ b/common/config/.gitignore @@ -1,2 +1 @@ -main-local.php params-local.php diff --git a/common/config/main-local.php b/common/config/main-local.php new file mode 100755 index 0000000..6ec9e44 --- /dev/null +++ b/common/config/main-local.php @@ -0,0 +1,20 @@ + [ + 'db' => [ + 'class' => 'yii\db\Connection', + 'dsn' => 'mysql:host=195.248.225.149;dbname=test6', + 'username' => 'test6', + 'password' => 'T4n2W9e3', + 'charset' => 'utf8', + ], + 'mailer' => [ + 'class' => 'yii\swiftmailer\Mailer', + 'viewPath' => '@common/mail', + // send all mails to a file by default. You have to set + // 'useFileTransport' to false and configure a transport + // for the mailer to send real emails. + 'useFileTransport' => true, + ], + ], +]; -- libgit2 0.21.4