当前位置:首页 > php > 正文内容

thinkphp 使用Filesystem类提示未找到Filesystem类

zhangsir3年前 (2022-12-01)php346

这是因为thinkphp官方升级了thinkphp版本的原因,只需要更新Filesystem类就行了

更新命令行如下:

composer require topthink/think-filesystem 1.0.1


zhangsir版权c2防采集https://mianka.xyz

扫描二维码推送至手机访问。

版权声明:本文由zhangsir or zhangmaam发布,如需转载请注明出处。

本文链接:http://mianka.xyz/post/79.html

标签: phpthinkphp
分享给朋友:

“thinkphp 使用Filesystem类提示未找到Filesystem类” 的相关文章

迅睿cms 通用分页样式代码分享,复制粘帖即可

{module catid=$catid  order=updatetime page=1 join=1_news_category_data on=id}       &nbs...

composer提示内存不足的解决方法

1.找到php.ini2.打开php.ini3.搜索memory_limit4.把memory_limit=值改大就好了...

Thinkphp6 把用Db类的条件查询转成原生的sql语句

Thinkphp6经常需要查看 SQL 原生语句,这里有两种方式获取:1、getLastSql(), 获取方法前最后一条 SQL 原生语句$a1 = Movies::where('state',1)->limit(10)->select(); $a2...

think PHP返回上一页的办法!

think PHP返回上一页的办法!输入如下代码即可返回上一页return redirect($_SERVER["HTTP_REFERER"]);...

php 判断当前请求是http请求还是https请求!

php判断http请求还是https请求$http_type = ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on'...

thinkphp6内置上传类的基本使用

thinkphp6内置上传类的基本使用

一,使用thinkphp6内置上传类上传文件//上传接口 public function filef() {     //获取上传文件     $file = reques...