• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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 ?


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.