Commit be7b7ddb authored by xiabin's avatar xiabin

修改配置

parent d0931d30
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
<echo message="build frontend resourse end"/> <echo message="build frontend resourse end"/>
<echo message="yii2 init start"/> <echo message="yii2 init start"/>
<exec command="${php.bin} ${dir.output}/init --env=Development --overwrite=y" passthru="true"/> <exec command="${php.bin} ${dir.output}/init --env=Production --overwrite=y" passthru="true"/>
<echo message="yii2 init end"/> <echo message="yii2 init end"/>
......
...@@ -4,7 +4,7 @@ return [ ...@@ -4,7 +4,7 @@ return [
'cache' => [ 'cache' => [
'class' => 'yii\redis\Cache', 'class' => 'yii\redis\Cache',
'redis' => [ 'redis' => [
'hostname' => '192.168.1.12', 'hostname' => '192.168.1.21',
'port' => 6380, 'port' => 6380,
'database' => 2, 'database' => 2,
] ]
......
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