Преглед изворни кода

删除重复的数据库连接

shish пре 6 година
родитељ
комит
d8b5e11c96
1 измењених фајлова са 0 додато и 9 уклоњено
  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'],
 			'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;
 return $config;