thinkphp 6 使用composer更新后不能打开网站
·
在 vendor\composer\autoload_static.php 里面的
'think\\' =>
array (
0 => __DIR__ . '/..' . '/topthink/framework/src/think',
1 => __DIR__ . '/..' . '/topthink/think-helper/src',
2 => __DIR__ . '/..' . '/topthink/think-image/src',
3 => __DIR__ . '/..' . '/topthink/think-orm/src',
4 => __DIR__ . '/..' . '/topthink/think-queue/src',
5 => __DIR__ . '/..' . '/topthink/think-template/src',
),
顺序错乱后,导致不能登录,恢复后就可以了。

更多推荐
所有评论(0)