Codeigniter 4中的调试工具栏不起作用 [英] Debug Toolbar in Codeigniter 4 not working

查看:86
本文介绍了Codeigniter 4中的调试工具栏不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装了Codeigniter 4.0.2并进行了以下更改:

.env文件中的

1- CI_ENVIRONMENT =开发

公共文件夹.htaccess中的

2- SetEnv CI_ENVIRONMENT开发

3-在公用文件夹的主index.php文件中添加了 $ useKint = true;

当我在本地主机上打开时,将显示欢迎页面,但不会显示调试工具栏".我有什么想念的吗?

解决方案

调试工具栏将位于右下角或中,带有 codigniter代码徽标

  1. 单击该按钮以打开调试栏.

单击图标,您将能够看到这样的调试栏.

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

  1. 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆