Welcome Guest, Not a member yet? Register   Sign In
Debug toolbar in filters?

(This post was last modified: 01-31-2023, 07:26 PM by iRedds.)

The toolbar is enabled in filters. But it seems to me that this is a bad decision.
If git and CI/CD are used, then, as it seems to me, it is necessary to turn off the toolbar every time before the commit so that it does not get into production.

Maybe it makes sense to move the inclusion of the toolbar to .env?
Accordingly, we need to change the toolbar injection in response.

For example, the CodeIgniter::sendResponse() method can check whether the toolbar is enabled or not, and inject data into the response. 
In this case, all calls to Response::send() must only be made through the CodeIgniter::sendResponse() method.

Maybe I'm wrong.

Theme © iAndrew 2016 - Forum software by © MyBB