• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Enable profiler globally?

Currently, I am including this line in the constructor of every controller:


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.

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-2020 MyBB Group.