Laravel 5 ElFinder Class replace-this-with-your-middleware 在浏览服务器时不存在错误
Laravel 5 ElFinder Class replace-this-with-your-middleware does not exist error while browse server
我已经在 laravel 5 中配置了 elfinder,并且还使用了 CKEditor。一切都很好,直到我点击浏览服务器按钮,然后我得到 "Class replace-this-with-your-middleware does not exist
" 错误。我在 google 上搜索了很多,但我没有找到任何合适的答案。所以我把我的一个希望的问题。请尽快帮我解决这个问题。
您应该在 elfinder 配置中写下您的中间件名称。
例如:
'route' => [
'prefix' => 'elfinder',
'middleware' => 'auth'/*replace-this-with-your-middleware*/, //Set to null to disable middleware filter
],
我已经在 laravel 5 中配置了 elfinder,并且还使用了 CKEditor。一切都很好,直到我点击浏览服务器按钮,然后我得到 "Class replace-this-with-your-middleware does not exist
" 错误。我在 google 上搜索了很多,但我没有找到任何合适的答案。所以我把我的一个希望的问题。请尽快帮我解决这个问题。
您应该在 elfinder 配置中写下您的中间件名称。
例如:
'route' => [
'prefix' => 'elfinder',
'middleware' => 'auth'/*replace-this-with-your-middleware*/, //Set to null to disable middleware filter
],