Welcome Guest, Not a member yet? Register   Sign In
Disable Debug Bar for certain controllers?

Is there a way to disable the debug bar for certain controllers, or ideally for individual routes or functions within a controller?
It's causing issues when I'm trying to return JSON responses through AJAX.
Designer, developer and Diet Dr. Pepper addict. Messing up PHP since <?= $when['year';] ?>

You can exclude filters for specific paths. https://codeigniter.com/user_guide/incom...ml#globals
On ajax requests, the response body is not modified in any way, so debugging the toolbar does not affect the response.

Theme © iAndrew 2016 - Forum software by © MyBB