Closed ChibuezeAgwuDennis closed 1 year ago
Cannot reproduce. Please show us minimum steps to reproduce.
When I switch to production mood, the developer toolbar still show.
https://github.com/codeigniter4/CodeIgniter4/blob/d8d52757b38c16a836e5296c331ecf9a6e9f324d/app/Config/Events.php#L44-L47
If CI_DEBUG
is not true, Services::toolbar()->respond()
is not called.
When I switch to production mood, the developer toolbar still show.
If
CI_DEBUG
is not true,Services::toolbar()->respond()
is not called.
I am checking on what you said
When I switch to production mood, the developer toolbar still show.
If
CI_DEBUG
is not true,Services::toolbar()->respond()
is not called.I am checking on what you said
in production it is returning
When I switch to production mood, the developer toolbar still show.
If
CI_DEBUG
is not true,Services::toolbar()->respond()
is not called.I am checking on what you said
in production it is returning
I have fixed this CI_ENVIRONMENT = production displaying true but what of the hanging on browser
CI_DEBUG
is set to false in
https://github.com/codeigniter4/CodeIgniter4/blob/d8d52757b38c16a836e5296c331ecf9a6e9f324d/app/Config/Boot/production.php#L21
unless you define it before the code above.
I have fixed the always true issue. But what of the slow loading or hanging of browser when on development mood. or is it conflicting anything or heavy loading
But what of the slow loading or hanging of browser when on development mood.
Please provide minimum steps to reproduce the slow loading or hanging browser. Without the steps, we can only assume it's a problem with your code and not of the framework.
PHP Version
7.4
CodeIgniter4 Version
4.2.11
CodeIgniter4 Installation Method
Manual (zip or tar.gz)
Which operating systems have you tested for this bug?
Windows
Which server did you use?
cli
Database
No response
What happened?
When I am on development mood my script load normal and after the developer toolbar load the browser will start to hang or responds slowly.
Another bug
When I switch to production mood, the developer toolbar still show.
Steps to Reproduce
I try debugging to see where this error is coming from
I try editing the Toolbar Class on
To this to see if my script will load fine and it does
Expected Output
...
Anything else?
No response