Codeigniter 4中的调试工具栏不起作用 [英] Debug Toolbar in Codeigniter 4 not working
问题描述
我安装了Codeigniter 4.0.2并进行了以下更改:
.env文件中的 1- CI_ENVIRONMENT =开发
2- SetEnv CI_ENVIRONMENT开发
3-在公用文件夹的主index.php文件中添加了 $ useKint = true;
当我在本地主机上打开时,将显示欢迎页面,但不会显示调试工具栏".我有什么想念的吗?
调试工具栏将位于右下角或中,带有 codigniter代码徽标
- 单击该按钮以打开调试栏.
单击图标,您将能够看到这样的调试栏.
I installed Codeigniter 4.0.2 and did following changes:
1- CI_ENVIRONMENT = development
in .env file
2- SetEnv CI_ENVIRONMENT development
in .htaccess in public folder
3- Added $useKint = true;
in main index.php file in public folder
When I open at localhost, welcome page is rendered but no Debug Toolbar is rendered. Am I missing anything?
The debug toolbar will be there in bottom right cornor with a codigniter code logo
- Click that in order to open the debug bar.
Click the icon you will be able to see debug bar like this.
这篇关于Codeigniter 4中的调试工具栏不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!