filesystem.php 716 B

123456789101112131415161718192021222324252627
  1. <?php
  2. use think\facade\Env;
  3. return [
  4. 'default' => Env::get('filesystem.driver', 'public'),
  5. 'disks' => [
  6. 'local' => [
  7. 'type' => 'local',
  8. 'root' => app()->getRuntimePath() . 'storage',
  9. ],
  10. 'public' => [
  11. 'type' => 'local',
  12. 'root' => app()->getRootPath() . 'public/uploads',
  13. 'url' => '/uploads',
  14. 'visibility' => 'public',
  15. ],
  16. 'pem' => [
  17. 'type' => 'local',
  18. 'root' => app()->getRootPath() . 'runtime/pem',
  19. 'url' => '',
  20. ],
  21. // 更多的磁盘配置信息
  22. ],
  23. //系统开发密码
  24. 'password' => ''
  25. ];