No Description
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.

filesystem.php 623B

123456789101112131415161718192021222324
  1. <?php
  2. return [
  3. // 默认磁盘
  4. 'default' => 'local',
  5. // 磁盘列表
  6. 'disks' => [
  7. 'local' => [
  8. 'type' => 'local',
  9. 'root' => app()->getRuntimePath() . 'storage',
  10. ],
  11. 'public' => [
  12. // 磁盘类型
  13. 'type' => 'local',
  14. // 磁盘路径
  15. 'root' => app()->getRootPath() . 'public/storage',
  16. // 磁盘路径对应的外部URL路径
  17. 'url' => '/storage',
  18. // 可见性
  19. 'visibility' => 'public',
  20. ],
  21. // 更多的磁盘配置信息
  22. ],
  23. ];