From 1dc225701d4c7f2da3ce206d6470e6249163cbcf Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Mon, 2 Nov 2015 11:21:06 +0200 Subject: [PATCH] test --- common/config/.gitignore | 1 - common/config/main-local.php | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100755 common/config/main-local.php 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