最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

codeigniter 4 - Query String URLs for CodeIgnitor 4 - Stack Overflow

programmeradmin1浏览0评论

I WANT to show the query string for my CodeIgnitor 4 app. In CI3 we had Config directives like $config['enable_query_strings'] = TRUE;.

In CI4 we have public string $uriProtocol = 'PATH_INFO'; or public string $uriProtocol = 'QUERY_STRING';. This impacts how the ROUTES are configured in Config\Routes.php; but, no matter how I build the route, it still just gives me the URL path to the controller.

发布评论

评论列表(0)

  1. 暂无评论