您现在的位置是: 首页 > ThinkPHP6 ThinkPHP6
THINKPHP6.1使用filesystem 3.1
冬寂
2023-01-03 09:41:09
【ThinkPHP6】
209人已围观
Thinkphp6.1去除了对think-filesystem1.0的依赖,
think-filesystem1.0只能使用league/flysystem1.0导致了一些列的安全和性能问题
不过目前新下载的tp6.1仍然自带think-filesystem1.0,
需要使用think-filesystem2.0(league/flysystem2.^)
或者使用league/flysystem3.^,则需要先卸载think-filesystem1.0
卸载think-filesystem1.0
composer remove topthink/think-filesystem
加载league/flysystem3.^
composer require league/flysystem 或者 composer require topthink/think-filesystem
上一篇: Thinkphp6.1安装,相关扩展
相关文章
点击排行

站长推荐

猜你喜欢
- MySQL ANY_VALUE() 函数
- MySQL 随机排序 ORDER BY RAND() 性能优化
- 如何在网上向人求助
- 提问的智慧
- 执行count(1)、count(*) 与 count(列名) 到底有什么区别?
- 韦伯天文望远镜将会改写宇宙历史,如果它能正常工作的话(The Webb Space Telescope Will Rewrite Cosmic History. If It Works.)
- 韦伯太空望远镜将改写宇宙历史(The Webb Space Telescope Will Rewrite Cosmic History. If It Works.)
- 韦伯太空望远镜将改写宇宙历史(The Webb Space Telescope Will Rewrite Cosmic History. If It Works.)
- 《人类动物园》:为什么说都市是人类动物园?
- 对话罗永浩:再创业可能后悔,不再创业百分之百后悔