Selaa lähdekoodia

删除重复的数据库连接

shish 6 vuotta sitten
vanhempi
commit
d8b5e11c96
1 muutettua tiedostoa jossa 0 lisäystä ja 9 poistoa
  1. 0 9
      common/config/main-local.php

+ 0 - 9
common/config/main-local.php

@@ -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;