commit | author | age
|
90c639
|
1 |
<?php |
Z |
2 |
/** |
|
3 |
* 项目本地配置 |
|
4 |
*/ |
|
5 |
|
|
6 |
return [ |
|
7 |
'redis' => [ |
|
8 |
'class' => 'yii\redis\Connection', |
|
9 |
'hostname' => '127.0.0.1', |
|
10 |
'port' => 6379, |
|
11 |
], |
|
12 |
'cache' => [ |
|
13 |
'class' => 'yii\caching\FileCache', |
|
14 |
], |
|
15 |
'enableSchemaCache' => false, |
|
16 |
'schemaCacheDuration' => 3600, |
|
17 |
'schemaCache' => 'cache', |
|
18 |
'session' => [ |
|
19 |
'name' => 'HJ_SESSION_ID', |
|
20 |
'class' => 'yii\web\DbSession', |
|
21 |
'sessionTable' => '{{%core_session}}', |
|
22 |
], |
|
23 |
'debugAllowedIPs' => ['127.0.0.1', '::1',], |
|
24 |
'giiAllowedIPs' => ['127.0.0.1', '::1',], |
|
25 |
'queue' => [ |
|
26 |
'class' => \yii\queue\db\Queue::class, |
|
27 |
'tableName' => '{{%core_queue}}', |
|
28 |
], |
|
29 |
]; |