mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-12-02 03:48:47 +08:00
37 lines
1.4 KiB
PHP
37 lines
1.4 KiB
PHP
<?php
|
|
// +----------------------------------------------------------------------
|
|
// | ShopXO 国内领先企业级B2C免费开源电商系统
|
|
// +----------------------------------------------------------------------
|
|
// | Copyright (c) 2011~2018 http://shopxo.net All rights reserved.
|
|
// +----------------------------------------------------------------------
|
|
// | Licensed ( https://opensource.org/licenses/mit-license.php )
|
|
// +----------------------------------------------------------------------
|
|
// | Author: Devil
|
|
// +----------------------------------------------------------------------
|
|
|
|
// +----------------------------------------------------------------------
|
|
// | 文件磁盘配置
|
|
// +----------------------------------------------------------------------
|
|
return [
|
|
// 默认磁盘
|
|
'default' => 'local',
|
|
// 磁盘列表
|
|
'disks' => [
|
|
'local' => [
|
|
'type' => 'local',
|
|
'root' => app()->getRuntimePath() . 'storage',
|
|
],
|
|
'public' => [
|
|
// 磁盘类型
|
|
'type' => 'local',
|
|
// 磁盘路径
|
|
'root' => app()->getRootPath() . 'public/storage',
|
|
// 磁盘路径对应的外部URL路径
|
|
'url' => '/storage',
|
|
// 可见性
|
|
'visibility' => 'public',
|
|
],
|
|
// 更多的磁盘配置信息
|
|
],
|
|
];
|
|
?>
|