7 Star 44 Fork 26

xiaodi/think-admin

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
filesystem.php 975 Bytes
Copy Edit Raw Blame History
Eden Leung authored 2020-12-05 17:43 +08:00 . Apply fixes from StyleCI
<?php
/*
* This file is part of TAnt.
* @link https://github.com/edenleung/think-admin
* @document https://www.kancloud.cn/manual/thinkphp6_0
* @contact QQ Group 996887666
* @author Eden Leung 758861884@qq.com
* @copyright 2019 Eden Leung
* @license https://github.com/edenleung/think-admin/blob/6.0/LICENSE.txt
*/
return [
// 默认磁盘
'default' => env('filesystem.driver', 'local'),
// 磁盘列表
'disks' => [
'local' => [
'type' => 'local',
'root' => app()->getRuntimePath() . 'storage',
],
'public' => [
// 磁盘类型
'type' => 'local',
// 磁盘路径
'root' => app()->getRootPath() . 'public/storage',
// 磁盘路径对应的外部URL路径
'url' => '/storage',
// 可见性
'visibility' => 'public',
],
// 更多的磁盘配置信息
],
];
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/heehee/think-admin.git
git@gitee.com:heehee/think-admin.git
heehee
think-admin
think-admin
6.0-next

Search