|
|
@@ -11,14 +11,5 @@ $config = [
|
|
|
'allowedIPs' => ['127.0.0.1', '::1'],
|
|
|
],
|
|
|
],
|
|
|
- 'components' => [
|
|
|
- 'db' => [
|
|
|
- 'class' => 'yii\db\Connection',
|
|
|
- 'dsn' => 'mysql:host=127.0.0.1;dbname=huahuibao',
|
|
|
- 'username' => 'root',
|
|
|
- 'password' => 'zt20152008',
|
|
|
- 'charset' => 'utf8',
|
|
|
- ],
|
|
|
- ],
|
|
|
];
|
|
|
return $config;
|