[ '@bower' => '@vendor/bower-asset', '@npm' => '@vendor/npm-asset', '@blobt' => '@vendor/blobt', '@iron' => '@vendor/iron', '@linyao' => '@vendor/linyao', ], 'vendorPath' => dirname(dirname(__DIR__)) . '/vendor', 'timeZone' => 'Asia/Shanghai', 'language' => 'zh-CN', 'components' => [ 'userLogic' => ['class' => 'iron\logic\UserManager'], 'cache' => [ 'class' => 'yii\caching\FileCache', ], 'mongodb' => [ 'class' => '\yii\mongodb\Connection', 'dsn' => 'mongodb://127.0.0.1:27017/love', 'options' => [ // "username" => "", // "password" => "" ] ], 'authManager' => [ 'class' => 'yii\rbac\DbManager', ], 'formatter' => [ 'dateFormat' => 'php:Y-m-d', 'decimalSeparator' => ',', 'thousandSeparator' => ' ', 'currencyCode' => 'RMB', ], 'redis' => [ 'class' => 'yii\redis\Connection', 'hostname' => 'localhost', 'port' => 6379, 'database' => 0, ], ], ];