Welcome Guest, Not a member yet? Register   Sign In
Enable profiler globally?
#1

[eluser]dobomode[/eluser]
Currently, I am including this line in the constructor of every controller:

Code:
$this->output->enable_profiler(TRUE);

I would like this setting to be global so I can enable/disable it for all controllers quickly. Is there an easy way to do this?

I guess I can define a boolean constant and pass it as an argument of enable_profiler within each controller. This is not very elegant though. I was hoping there is a configuration setting I can set.
#2

[eluser]pistolPete[/eluser]
There exists an almost exactly named topic, just use the forum search:
Enabling Profiler globally ?




Theme © iAndrew 2016 - Forum software by © MyBB