Commit 0f87c990 by Alexander Makarov

Advanced app template: moved database connection DSN, login and password to…

Advanced app template: moved database connection DSN, login and password to -local config not to expose it to VCS
parent 5f3be6c7
......@@ -20,9 +20,6 @@ return [
'components.db' => [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=localhost;dbname=yii2advanced',
'username' => 'root',
'password' => '',
'charset' => 'utf8',
],
];
<?php
return [
'components.db' => [
'dsn' => 'mysql:host=localhost;dbname=yii2advanced',
'username' => 'root',
'password' => '',
],
];
<?php
return [
'components.db' => [
'dsn' => 'mysql:host=localhost;dbname=yii2advanced',
'username' => 'root',
'password' => '',
],
];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment