Files
webman-buildadmin/config/filesystem.php
2026-03-18 15:54:43 +08:00

21 lines
549 B
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/**
* 文件系统配置BuildAdmin Upload 所需)
*/
return [
'default' => env('filesystem.driver', 'local'),
'disks' => [
'local' => [
'type' => 'local',
'root' => rtrim(runtime_path(), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . 'storage',
],
'public' => [
'type' => 'local',
'root' => rtrim(base_path(), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . 'public',
'url' => '/storage',
'visibility' => 'public',
],
],
];