shish 6 lat temu
rodzic
commit
db70761313

+ 24 - 0
common/config/main-local-example.php

@@ -0,0 +1,24 @@
+<?php
+$config = [
+	'bootstrap' => ['debug', 'gii'],
+	'modules' => [
+		'debug' => [
+			'class' => 'yii\debug\Module',
+			'allowedIPs' => ['*'],
+		],
+		'gii' => [
+			'class' => 'yii\gii\Module',
+			'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;

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

@@ -1,24 +1,4 @@
 <?php
 $config = [
-	'bootstrap' => ['debug', 'gii'],
-	'modules' => [
-		'debug' => [
-			'class' => 'yii\debug\Module',
-			'allowedIPs' => ['*'],
-		],
-		'gii' => [
-			'class' => 'yii\gii\Module',
-			'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;

+ 4 - 0
common/config/params-local-example.php

@@ -0,0 +1,4 @@
+<?php
+return [
+];
+