1
0

main.php 520 B

1234567891011121314151617181920212223
  1. <?php
  2. return [
  3. 'aliases' => [
  4. '@bower' => '@vendor/bower-asset',
  5. '@npm' => '@vendor/npm-asset',
  6. ],
  7. 'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
  8. 'components' => [
  9. 'cache' => [
  10. 'class' => 'yii\caching\FileCache',
  11. ],
  12. 'redis' => [
  13. 'class' => 'yii\redis\Connection',
  14. 'hostname' => 'localhost',
  15. 'port' => 6378,
  16. 'database' => 1,
  17. 'password' => 'airent-redis~123',
  18. ],
  19. ],
  20. ];