You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
961 B

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
  1. <?php
  2. return [
  3. 'aliases' => [
  4. '@bower' => '@vendor/bower-asset',
  5. '@npm' => '@vendor/npm-asset',
  6. '@blobt' => '@vendor/blobt',
  7. '@iron' => '@vendor/iron',
  8. '@linyao' => '@vendor/linyao',
  9. '@antgoods' => '@vendor/antgoods',
  10. ],
  11. 'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
  12. 'timeZone' => 'Asia/Shanghai',
  13. 'language' => 'zh-CN',
  14. 'components' => [
  15. 'cache' => [
  16. 'class' => 'yii\caching\FileCache',
  17. ],
  18. 'authManager' => [
  19. 'class' => 'yii\rbac\DbManager',
  20. ],
  21. 'formatter' => [
  22. 'dateFormat' => 'php:Y-m-d',
  23. 'decimalSeparator' => ',',
  24. 'thousandSeparator' => ' ',
  25. 'currencyCode' => 'RMB',
  26. ],
  27. 'redis' => [
  28. 'class' => 'yii\redis\Connection',
  29. 'hostname' => 'localhost',
  30. 'port' => 6379,
  31. 'database' => 0,
  32. ],
  33. ],
  34. ];