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.

34 lines
918 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. ],
  10. 'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
  11. 'timeZone' => 'Asia/Shanghai',
  12. 'language' => 'zh-CN',
  13. 'components' => [
  14. 'cache' => [
  15. 'class' => 'yii\caching\FileCache',
  16. ],
  17. 'authManager' => [
  18. 'class' => 'yii\rbac\DbManager',
  19. ],
  20. 'formatter' => [
  21. 'dateFormat' => 'php:Y-m-d',
  22. 'decimalSeparator' => ',',
  23. 'thousandSeparator' => ' ',
  24. 'currencyCode' => 'RMB',
  25. ],
  26. 'redis' => [
  27. 'class' => 'yii\redis\Connection',
  28. 'hostname' => 'localhost',
  29. 'port' => 6379,
  30. 'database' => 0,
  31. ],
  32. ],
  33. ];